Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PCL print on 600 vrs 300 dpi printer

Status
Not open for further replies.

clarka

Programmer
Jun 12, 2002
1
0
0
US
How does a change from 300 to 600 dpi change the pcl commands? Does this only impact pcl images? I have a software product that supports 300 only and I need to make changes to it to support 600 dpi.

Thanks for any info.
AC..
 
All of your PCL files created for a 300 dpi printer
should print perfectly on a 600 dpi printer. A 600 dpi
printer can use a 600 dpi addressing scheme, but by
default is uses 300 dpi.

The resolution of graphic images is contained in the
bitmap code. If it was specified as 300 dpi in the
PCL file, it will be rendered at 300 dpi, regardless
of the printer's highest resolution.

Jim Asman
 
There is no PCL command to change the dpi of the printer. But there is a PJL command for it. PJL is part of PLC but is a little diffrent.

Here is the PJL command for changing the dpi from the HP site:

----------------
Resolution
Ec%-12345X@PJL DEFAULT RESOLUTION=300, 600 or 1200 ( depending on the printer)
Ec%-12345X

NOTE: This code function is not supported on HP LaserJet 4L and 4ML printers.

NOTE: The HP LaserJet 2100, LaserJet 4000, LaserJet 5000, and LaserJet 4050 printers support 1200 dpi. The HP LaserJet 8000 and LaserJet 8100 printers support HP FastRes 1200.

----------

Basicly what you want it to look like in your program is this:

Ec%-12345X@PJL <LF>
@PJL DEFAULT RESOLUTION=600 <LF>
Ec%-12345X

you need to have a <LF> &quot;Line feed&quot; at the end of each line except for the last line to get it to work.

This is how it looks in the language CQCS that I write in.

Writefile(L_FILE_NAME,&quot;%s%s%s%s%s&quot;,
&quot;<033>%-12345X@PJL&quot;,&quot;<LF>&quot;,
&quot;@PJL DEFAULT RESOLUTION=600&quot;,&quot;<LF>&quot;,
&quot;<033>%-12345X&quot;)


This also might set the printer to 600 as a default dpi so you might want to set it back to 300 at the end of the program



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top