[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Printing Issues



You will not see bold in the .SPF file.  Assuming the ESCAPE character in the 
.spf is properly encoded, when that file is printed, the HP printer will 
interpret it appropriately.

The PCL looks fine (orientation, cursor positioning, bold on, bold off).  PCL 
doesn't care about separate lines, because you're printing it as a binary 
stream and all cursor positioning is explicit, the <cr><lf> will have no effect.

-----Original Message-----
From: Ryan_Paul@aismail.wustl.edu [mailto:Ryan_Paul@aismail.wustl.edu]
Sent: Thursday, October 31, 2002 11:48 AM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] Printing Issues



I have tried using the pcl, but nothing has seemed to work.  Here is an
example of what I am doing in the sqr, maybe you can find something wrong
with it.  FYI, I am trying to print to an HP LaserJet 4050, on NT.

  encode '<27>' into $escape
  move '(s3B' to $bold
  move '(s0B' to $normal
  let $bold_str = $escape || $bold

  print $bold_str            (,6) code-printer=hp
  Print 'Hello World'    ()

  let $norm_str = $escape || $normal
  print $norm_str (1,1) code-printer=hp

this is what the .lis file looks like:

&a1L&l4E&a728v309H(s3B
&a728v309HHello World
&a728v36H(s0B

as you can see the commands are on seperate lines.  Not sure if this is
what is causing the problem, but the the words 'Hello World' in the .spf
file are not bold.  Let me know if there is something that I am not doing
correct.  I may not even be anywhere close for all I know.  Just looking
for a little PCL training I guess.  Thanks

Ryan



                                                                                
                            
                    "Knapp,                                                     
                            
                    Richard"              To:     <sqr-users@sqrug.org>         
                            
                    <KnappR@umsyste       cc:                                   
                            
                    m.edu>                Subject:     RE: [sqr-users] Printing 
Issues                      
                    Sent by:                                                    
                            
                    sqr-users-admin                                             
                            
                    @sqrug.org                                                  
                            
                                                                                
                            
                                                                                
                            
                    10/30/02 02:45                                              
                            
                    PM                                                          
                            
                    Please respond                                              
                            
                    to sqr-users                                                
                            
                                                                                
                            
                                                                                
                            





If your printer is an HP or is HP PCL compatible, the answer is yes to both
of your questions.

Get hold of the PCL Guide for your printer.  Some help can be had from the
HP web site.

Richard Knapp
Database Programmer/Analyst
Institutional Research and Planning
University of Missouri System
573-882-8856
knappr@umsystem.edu


-----Original Message-----
From: Ryan_Paul@aismail.wustl.edu [mailto:Ryan_Paul@aismail.wustl.edu]
Sent: Wednesday, October 30, 2002 12:37 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Printing Issues


Hi!

    I have 2 questions.  1)  Does anyone know how to print a report
multiple times in a batch process.  To be a little more specific, I have a
job that runs in batch, produces 1 report, but I want it to print 5 copies
by itself.  Any suggestions?     2)  Is there anyway to specify the paper
tray to use at the printer?  I want to print a banner page using a green
colored paper, then use the regular white paper for the report.  Any way to
switch back and forth between paper sources?  Any help you can give would
be much appreciated.  Thanks in advance!

Ryan

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users





_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users