Windows Clients don't appear to know margins

Kurt Pfeifle kpfeifle at danka.de
Sun Apr 1 03:11:27 PDT 2007


You did not tell which procedure you used to

  (a) store the PostScript drivers into Samba
  (b) install the PostScript drivers into the Windows clients

Did you use "cupsaddsmb" and "point+print"?

> Does the margin information get passed back to windows clients
> accessing the printers via samba?

Yes.

> Or is there a problem with my config?

I assume that you have used (buggy) PPDs on your Linux box that contain zero margins for the respective paper sizes.

Use a text editor to look at the PPD in /etc/cups/ppd/your_printername.ppd.
Search for "ImageableArea" lines. There (indirectly) the 4 margins for
the respective size are defined.

Then look at the PPD on the Windows clients. They are in
"%windir%\system32\spool\drivers\w32x86\3\" (or maybe "...\2\" as the
last subdir) for Windows 2000/XP (and "...\win40\0\" for Win 95/98/ME).

> Any help would be appreciated!

To correct the problem, on the CUPS/Samba side follow these steps:

  (1) Make sure all PPDs in /etc/cups/ppd/ contain correct margin
      definitions.
  (2) Make sure you follow the instructions in "man cupsaddsmb".
  (3) Export the PostScript driver files + the PPDs to Samba (either
      using the CUPS web interface, or the command line "cupsaddsmb -H
      localhost -v -a"

On the Windows clients, follow these steps to update the drivers/PPDs:

  (1) Delete the *printers* from the clients.
  (2) Delete the *drivers* from the clients (right-click on the
      background in the "Printers and Faxes" folder, select "Server
      Properties", open the "Drivers" tab....)
  (3) Install the printers again with "point+print"

Cheers,
Kurt

--
Kurt Pfeifle
System & Network Printing Consultant -- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH - A RICOH Company ........ Stuttgart/Germany





More information about the cups mailing list