Re: remote printing to Windows XP from OpenServer 5.0.6

From: Brian K. White (brian_at_aljex.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 00:22:53 -0500

Daniel Schmidt wrote:
> I'm in the middle of trying to upgrade my users's desktops from
> Windows 98 to XP Pro, and am having a great deal of trouble with
> remote printing. Any suggestions are very welcome.
>
> We have an application running on OpenServer 5.0.6, accessed via
> termlite by the Windows clients. Every user has a personal printer
> shared on their PC which is configured in Unix as a Windows printer in
> AFPS. After upgrading to XP this configuration no longer works;
> nothing will print at all. I have tried creating a root user on the
> client pc and in the domain, and tried setting the AFPS printer
> password to the Administrator password. For simplicity I am doing
> this in a test environment logged in as root and Administrator.
>
> What does work is installing XP's built-in LPD, and configuring an LPR
> printer in Unix. However, I need to be able to print in a compressed
> font so our reports will align correctly, and XP seems to completely
> ignore -ocompressed, as well as any other options. I have tried
> setting SimulatePassThrough to 1, but this results in no printing at
> all; the data seems to get to the printer, but is missing a FF or
> something - even multiple jobs won't make anything print.
>
> So far the closest I've come to what I need is setting up a windows 98
> print server, mapping the XP shared printers on it, then sharing those
> shared printers to Unix; this worked (once), but is of course
> horrible, and doesn't work at all in 98SE.
>
> I dabbled a bit with setting up a virtual printer using the network
> interface described at
> http://www.aplawrence.com/SCOFAQ/scotec7.html#virtualprint, but
> fruitlessly, as my Unix skills are feeble at best. I don't think I
> really understand exactly how the formatted output from the local
> printer is supposed to be piped to the remote printer with formatting
> intact.
>
> I'm sure there's an elegant solution for this, but I feel incapable of
> finding it myself. Any help is appreciated, and I thank you for your
> time.
>
> Dan Schmidt

Never used afps, but I've not had any problem printing to win xp shares
(home or pro) with either samba (yes, on sco) or facetwin. I don't know how
you send print jobs, let alone with a particular name & password, in afps
but as I said I've had no problems doing it in facetwin and samba. (visionfs
I haven't used since long before xp existed) so as long as you can do that,
then here is all I've had to do so far:

If the PC logs into a domain, then you need to create a user on the domain
and send print jobs from the unix box using that name & password and it
doesn't matter what users you create on the pc.

If the pc does not log into a domain, then just enable the guest account on
the pc or create a user that the unix box will use to send print jobs. You
have to enable basic sharing on the pc of course but the first time you try
to share a printer a dialog pops up to do that so I assume that's been done
by now. If you create a user on the pc just for printing, remember to make
the password permanent. It's not by default and some time in the near future
print jobs will stop working.

-- 
Brian K. White  --  brian@aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani


Relevant Pages

  • Re: Windows equivalent of Unix spool directory
    ... Windows Printing Team ... The default spool directory is ... Under Unix a logged in user can print to a printer ... So how do I cancel print jobs under ...
    (microsoft.public.windows.vista.print_fax_scan)
  • Re: What is the more popular UNIX flavor?
    ... about my experience with Solaris and Cygwin. ... installing packages. ... needing eg tftp you only need to activate on a Unix system. ... probably need installing first on the equivalent Windows system. ...
    (comp.unix.questions)
  • Re: Five Architectural Flaws in Windows Solved In Mac OS X
    ... But it is still an improvement over Unix, wherein *any executable* can be highly privileged and interact with the user. ... The usual security precautions prevent unauthorized people from doing this, but that's true on Windows also. ... I just got thru upgrading the wifes Mac to Tiger and hpfs is the default. ... This is a more advanced design that Unixes have been trying to duplicate by adding thread support. ...
    (comp.sys.mac.advocacy)
  • Re: Linux no threat to Microsoft
    ... originally developed for Unix. ... Windows has't come on any of the machines I've ever purchased. ... Yet over those years Linux Market Share on the desktop has actually ... philosophy of Apple - later adopted by Microsoft. ...
    (comp.os.linux.setup)
  • Re: OS X "Security" myths
    ... >> lot of UNIX systems down to their knees. ... >>> their code, so they concentrate on developing exploits for Windows, ... > It does tell me that there is not much "boast factor" for malware ... Just like the Hackers convention in Las Vegas known as ...
    (comp.sys.mac.advocacy)