View Single Post
Old 11-26-2007   #4 (permalink)
TomCantPrint


 
 

Re: Vista last page does not print -with print server

I did find this in http://support.microsoft.com/kb/132460

The article seems to have some bearing to the problems I am having but it is
unclear if I can use it with Vista.

Could you please give it a quick look and let me know if the fix could work
for me.

Tom


Configuring Windows LPR Software

There are two ways to send print jobs from Windows using LPR; each has a
different default control command and different configuration procedure.

The Windows Print Manager LPR Port monitor software sends the "l" control
command by default (because most jobs sent through Print Manager come from
Windows-based applications). Because Windows-based applications use a Windows
printer driver to fully render the print job, the "l" control command is used
to indicate that the LPD server should pass the job through unaltered.

You can configure the control command by editing the registry:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide
problems that may require you to reinstall Windows to correct them. Microsoft
cannot guarantee that any problems resulting from the use of Registry Editor
can be solved. Use this tool at your own risk.
1. Run Registry Editor (REGEDT32.EXE).
2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:
\System\CurrentControlSet\Control\Print\Monitors\LPR Port\Ports\portname
3. From the Edit menu, choose Add Value.
4. Add the following:
Value Name: PrintSwitch
Date Type: REG_SZ
String: This value is the single character that you to be sent as a control
command
5. Choose OK and quit Registry Editor.
The Windows LPR.EXE command line utility sends the "f" control command by
default because most people who use this utility are sending text jobs. The
"f" control command indicates that the LPD server should reformat the print
job as necessary. You can override this default on individual print jobs with
the "-o" switch.

The "-o" switch exists in both Windows NT 3.5 and 3.51, but was not properly
documented in 3.5. Add the control command that you want to send to the end
of the "-o" switch. For example, to send the "l" control command instead of
the default "f" control command, use:
LPR -S <servername> -P <printername> -ol <filename>
NOTE: Both the command line switches and the control commands are case
sensitive. For more information about specific data types, see the "Data Type
Affects the Print Spooler's Modification of Client Print Jobs" section below.

"Alan Morris [MSFT]" wrote:
Quote:

> What port monitor are you using?
>
> --
> 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.
>
> "TomCantPrint" <TomCantPrint@xxxxxx> wrote in message
> news:5034B733-D4B1-4BE9-9EEE-0110C8EDAE01@xxxxxx
Quote:

> >I have two vista machines that act the same. I have two samsung ML-2XXX
> > printer that are acting the same. With the latest print drivers I can
> > print
> > to the two printers if they are connected to the computers using a
> > hardwire
> > USB connection. When I try and print to either printer to either printer
> > using the usb print server output on my netgear wifi router the last page
> > does not print. The printer comes back with a time out error waiting for
> > the
> > last page.
> >
> > Everything works great printing with using the printers connected
> > connected
> > through this wifi setup if I am using my XP machines.
> >
> > Anyone know what the problem is with Vist and the last page?
> >
> > More info:
> > I can not print one page because it is also the last page.
> >
> > I can print documents of I add a dummy last page and have the program set
> > to
> > print one more page than I need.
> >
> > It seems like Vista is not sending that one last character to allow the
> > last
> > page to pring.
> >
> > I have contacted Samsung and HP support several times and they say it is
> > not
> > their problem.
> >
> > They say that if their drivers print ok to the USB Port directly there
> > drivers are good. I agree. Vista should be sending the same informaton
> > to
> > the usb port as it does over the WiFi?
> >
>
>
>
My System SpecsSystem Spec