Re: PCL5 problem - software or hardware ?
- From: "Mark Brown" <mbrown@xxxxxxxxxxxxx>
- Date: Thu, 19 Jul 2007 10:14:19 -0700
This is what the devices file was designed for.
Clone an old HP definition and replace with the codes for your various
versions.
ASSIGN-FQ can assign a form queue to a specific printer type and the problem
goes away (mostly).
Mark Brown
"Corporate apparatchik" <johnmarshall@xxxxxxxxxx> wrote in message
news:1184831171.675911.223680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Folks
I posted this message last night but it hasn't appeared after almost
24 hours and appears to have disappeared into the ether, so here is
attempt nbr 2.
We have some documents which when we print them using our D3/NT
application, a mixture of text and PCL5 commands is sent to a laser
printer. Nothing fancy, no graphics.
The problem is that the same PCL5 commands have different effects on
different printers.
On one printer I get a bold large sized font and on another I get what
looks like plain text Courier.
All through the forms as fonts change I get inconsistencies between
printed outputs.
I've tried one document on 2 HP printers and a Ricoh and all 3 have
font variations, some of them make the document unusable, such as tiny
fonts on a packing slip. (Which is not a good look for a company
supplying equipment for the low vision market)
Take a case of 2 fairly newish printers (both less than 12 months
old), both HP models, a 1320tn and a P2015n
The network guy logged onto them and gave me the settings on these
printers as:
HP1320tn - PCL, Font 0, Font pitch 10, Font point size 12, Symbol set
PC-8
HP P2015n - as above, but it says PCL5e in the settings box
If I send a simple text string "Packing Slip" down to these printers I
get markedly different results.
The test program is below. My question is, what do I need to do to
get both printers to generate the same output?
Is it the PCL5 syntax, or do I have some issues with the printers to
sort out.
Any advice appreciated - it's driving me bananas.
John Marshall
Christchurch NZ
test.pcl5
001 *
002 * TEST.PCL5
003 *
004 ESC=CHAR(27)
005 LINE.FONT=ESC:'(s10v0p0s+1b0T'
006 PLINE10.FONT=ESC:'(s10v1p0s+1b0T'
007 H10.FONT=ESC:'(s10v1p0s+2b0T'
008 H12.FONT=ESC:'(s12v1p0s+2b0T'
009 LINE12.FONT=ESC:'(s12v1p0s+1b0T'
010 H14.FONT=ESC:'(s14v1p0s+2b0T'
011 H18.FONT=ESC:'(s18v1p0s+3b0T'
012 H32.FONT=ESC:'(s32v1p0s+3b0T'
013 H35.FONT=ESC:'(s35v1p0s+5b0T'
014 H16.FONT=ESC:'(s16v1p0s+2b0T'
015 BIG.FONT=ESC:'(s18v1p0s+7b0T'
016 *
017 IH10.FONT=ESC:'(s10v1p1s+0b0T'
018 IH12.FONT=ESC:'(s12v1p1s+0b0T'
019 ******************************
020 TRAY2=ESC:'&l1H'
021 TRAY3=ESC:'&l5H'
022 TRAY=TRAY2
023 ******************************
024 LANDSCAPE=ESC:'&l1O'
025 PORTRAIT=ESC:'&l0O'
026 *
027 PRINTER ON
028 PRINT CHAR(12):LANDSCAPE:
029 XTAB=100; YTAB=50
030 PRINT ESC:'*p':XTAB:'x':YTAB:'Y':
031 PRINT H18.FONT:'PACKING SLIP'
032 PRINTER OFF
033 PRINTER CLOSE
034 STOP
035 *
036 END
.
- References:
- PCL5 problem - software or hardware ?
- From: Corporate apparatchik
- PCL5 problem - software or hardware ?
- Prev by Date: Re: Samsung CLP-510 Color Laser Printer - D3/Windows
- Next by Date: Re: D3 Access misbehaving?
- Previous by thread: PCL5 problem - software or hardware ?
- Next by thread: Printing to a Samsung CLP-510 Color Laser Printer from D3/Windows
- Index(es):
Relevant Pages
|
|