Form Feed Disapears when printing from LPR client

M

Matt Darnell

Aloha,

I am trying to print from a Unix box to my Windows 2003 server using
LPR. I am using the command "lpr -S mdarnell.comtelhi.com -P gt
test_letter6" where 'gt' is the shared printer.

My Windows box recieves the file but all the Form Feed characters are
missing, all the individual print jobs just run together.

If I open test_letter6 in textpad and print to the 'gt' printer all
the of form feed characters are there. Because of this I don't think
it is a printer set up issue but instead some setting in the Unix
Printing Services. I can find no place to administerthat service.

I have tried changing the paper source to include breaks and changing
the print processor (along with anything else that looked promising).

Any help would be appriciated.

Aloha,
Matt
 
A

Alan Morris\(MSFT\)

regedit is the only method to perform any administrative work in this
service.
you can find most of the Print Services for Unix registry admin tasks @
microsoft.com

There are two registry keys that allow passing the data through the LPD
Service without munging the data.

This KB article explains how to set the LPD Service on ALL the printers
http://support.microsoft.com/default.aspx?scid=kb;en-us;150930
LPD Server Adds and Prints Control Codes


This KB article explains how to set an individual printer
http://support.microsoft.com/default.aspx?scid=kb;en-us;168457
Configuring Individual Printers to Passthrough LPR Print Jobs


If you just want to set the one printer and the LPD Service has already
accepted a job from the TCP client, then LPD Service has already written the
LpdPrinterPassThrough key at this location. The default value is 0. Set it
to 1 and net stop lpdsvc, net stop spooler, net start spooler, net start
lpdsvc.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\printerna
me\PrinterDriverData

Value Name: LpdPrinterPassThrough
Data Type: REG_DWORD
Value Data: 1
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Matt Darnell

Aloha,

I am trying to print from a Unix box to my Windows 2003 server using
LPR. I am using the command "lpr -S mdarnell.comtelhi.com -P gt
test_letter6" where 'gt' is the shared printer.

My Windows box recieves the file but all the Form Feed characters are
missing, all the individual print jobs just run together.

If I open test_letter6 in textpad and print to the 'gt' printer all
the of form feed characters are there. Because of this I don't think
it is a printer set up issue but instead some setting in the Unix
Printing Services. I can find no place to administerthat service.

I have tried changing the paper source to include breaks and changing
the print processor (along with anything else that looked promising).

Any help would be appriciated.

Aloha,
Matt

Aloha,

I was able to overcome the issue by add '-ol' to the lpr command. I
do not know why sending it as binary makes a difference.

Thanks,
Matt

www.servpac.com
 
A

Alan Morris\(MSFT\)

Cool. This lpr switch tells the server side not to mess with the data.
Some lpr clients do not have this option and thus the need to handle this in
the service.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top