If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Other PC Databases > Printing with PCL6 from a dBase III program

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-16-07, 14:38
Elbon Elbon is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Printing with PCL6 from a dBase III program

Hi,

I have a system written in dBaseIII and Clipper 5.1 which used PCL5 commands to enhance the printed output ie to change the pitch size and turn on/off bold. Now we have moved onto a laser which only supports PCL6. Can anyone suggest what the PCL6 commands are for the above requirements and how I could include them in my code.

Thanks

Ian
Reply With Quote
  #2 (permalink)  
Old 10-17-07, 11:35
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,612
PCL6 is simply an extension of PCL5 as far as the features that would be used by Clipper 5.1 or dBase III are concerned. You should not need to do anything at all.

-PatP
Reply With Quote
  #3 (permalink)  
Old 12-02-07, 21:25
themjclare themjclare is offline
Registered User
 
Join Date: Nov 2007
Posts: 2
I am guessing that your DBIII/clipper program is probably sending PCL commands straight to the printer (not going through the windows print driver)?

If this is the case then I would also guess that your printer is probably also capable of other emulations other than PCL5 & PCL6? With printers such as this there is usually a 'default emulation' setting. The default emulation is probably set to 'AUTO' which means that the printer looks at the first few lines of text with each print job and tries to determine which emulation it should use. Since your program is sending control characters on the fly it is probably not sending an initial string of characters that the printer can explicitly identify as PCL.

If all my guesses are correct then there are 2 possible solutions. 1) you could make sure that your print job sends initial PCL commands that identify the print job as PCL. Perhaps a 'universal reset' followed by the PCL codes to force a paper tray and paper size. or... 2) from the walk up control pad on the printer, change the printer's default emulation to either PCL5 or PCL6. This won't have any effect on normal Windows print operations since the window's print driver will explicitly force the emulation to be whichever driver you are using but for your print job that doesn't use the window's print driver it will allow the printer to recognize your embedded PCL and behave correctly.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On