printing to windows spooler - width of doc problem

Chad McWilliams chad at computiprint.com
Tue Apr 5 06:15:19 PDT 2005


> 
> <esc>&s1C
> 
> disables EOL wrap. That IS the default on HP printers. That 
> might imply there is an <esc>&s0C somewhere in the code that 
> is setting line wrap on.
> 
> 
> Jim 

The problem has to do with the way Windows TCP/IP Print Services handles
jobs.  It tried to detect what kind of printer the job is formated for, and
then formats it itself, even when you don't want it to.  We had the same
problem here with print jobs wrapping even though we were sending raw text
with no print codes to a printer forced to 17 cpi.  Windows decided that it
couldn't possibly be plain text and formated itself.  Once the registry
entry I wrote about earlier was entered into the registry of the machine
hosting the printer, there were no more problems.

Interestingly, the problem only occurred when the unix box was communicating
to the WinXP machine directly through lpr/lpd.  If you sent a job to the
WinXP box from SAMBA, Windows left the job alone.  I'm guessing SAMBA is
adding something to the job that lpr is not.

-Chad McWilliams



More information about the Filepro-list mailing list