Printing on a Unix/Linux system ////////////////////////////////////////////////////////////////////////////// Useful resources are found at: http://www.cups.org/ ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: panix3.panix.com NNTP-Posting-Date: Fri, 27 Aug 2004 04:36:42 +0000 (UTC) References: <3dbe60eb.0408261841.2b3ca0aa@posting.google.com> Message-ID: Organization: I have a map of the United States that's actual size Date: Fri, 27 Aug 2004 04:36:42 +0000 (UTC) From: Greg Andrews Subject: Re: Printers don't formfeed after printing kurnia93@yahoo.com (Agung Kurniawan) writes: > > The problem is, the printers don't do a formfeed after printing so the > next print will start on the last page of previous print. I've been > looking for the solution for weeks but still no luck. > > How to make the printers do a formfeed after printing? > Any help and suggestion will be much appreciated. The cleanest way to do this is to configure the Lantronix to add the form feed at the end of the print job. I don't know which model Lantronix you have, but the PDF manual for the EPS print servers mentions a "Formfeed" option for the service on the port. Their other models will have the same feature, I'm pretty sure... The manual I'm looking at is: http://www.lantronix.com/support/docs/pdf/eps_ref.pdf and the listing of the Formfeed option is in Section 4.6.4 on page 4-9 (page 49 of 223). If you absolutely must add the form feed in Solaris, you can do it with a print filter. Post to the group if you need this kind of solution. -Greg -- [Do NOT reply via e-mail.] .............................................................................. Newsgroups: comp.unix.solaris NNTP-Posting-Host: 67.169.117.11 NNTP-Posting-Date: Thu, 26 Aug 2004 23:40:37 -0500 References: <3dbe60eb.0408261841.2b3ca0aa@posting.google.com> Message-ID: Organization: DexLabs, Inc. Date: Thu, 26 Aug 2004 21:40:37 -0700 From: "Michael Vilain " Subject: Re: Printers don't formfeed after printing In article <3dbe60eb.0408261841.2b3ca0aa@posting.google.com>, kurnia93@yahoo.com (Agung Kurniawan) wrote: > > OS: Sparc Solaris 8 64-bit > > We have dotmatrix printers connected to Lantronix. I set one of them > using the following command: > > # lpadmin -p pti-is01 -o protocol=bsd,dest=eps_190f0:eps_190f0_p2 -v > /dev/null -m netstandard -T unknown -I any > # accept pti-is01 > # enable pti-is01 > > The problem is, the printers don't do a formfeed after printing so the > next print will start on the last page of previous print. I've been > looking for the solution for weeks but still no luck. > How to make the printers do a formfeed after printing? > Any help and suggestion will be much appreciated. > > Thank you > Agung What print filter script are you using? Is that the netstandard script? You might want to create a dotmatrix script using netstandard as a template and add a character at the end of a job to do the formfeed. -- DeeDee, don't press that button! DeeDee! NO! Dee... ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: Message-ID: Date: Sat, 4 Sep 2004 05:51:18 +0000 (UTC) From: Greg Andrews Subject: Re: How to TOTALLY end a print job *and* paper-wasting? (Hp-1200) dkcombs@panix.com (David Combs) writes: > > SUBJ: How to TOTALLY end a print job *and* paper-wasting? (Hp-1200) > Hi David, For both short-term and long-term, it depends on how the queue is set up for the printer. By "short-term", I mean what to do when the printer is spewing pages and you want to make it stop NOW. By "long-term", I mean how to configure the printer queue to prevent this from happening in the future. A general short-term procedure: 1) Press the button on the printer that takes it off line so it pauses printing. 2) Use the Solaris /usr/bin/cancel command to cancel the print job on Solaris. 3) Take steps to flush the remaining print data from the printer's buffers. This might mean pressing buttons on the printer's front panel to run through menus on the printer's LCD screen and select the "Cancel" option. Or, it might mean powering the printer off to wipe the printer's built-in RAM. The long-term procedure depends on the Solaris printer queue configuration. Posting the output of these two commands can help figure that out: /usr/bin/lpget printer-name /usr/bin/lpstat -v printer-name /usr/bin/lpstat -lp printer-name Replace "printer-name" with the name you gave the printer queue for the HP-1200 when you set it up. If you don't remember what that name is, run "/usr/bin/lpget list" to list all the printer queue names that your machine has. -Greg ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: byers.east.sun.com NNTP-Posting-Date: Thu, 1 Dec 2005 17:59:06 +0000 (UTC) References: Message-ID: Organization: Sun Microsystems Corporation Date: Thu, 01 Dec 2005 12:59:04 -0500 From: ML Starkey Subject: Re: Printing via Windows XP Mike Ingram wrote On 12/01/05 03:02,: > Hi All, > > I have set up Solaris 9 at work to print to a network printer and also to > print via a Windows machine connected to a print server. > I would now like to set up printing with my home network and am having > problems! > My HP psc750 printer does not have it's own IP address, and I do not have a > print server set up. > Instead, the printer is connected directly to my PC via USB. > The Solaris system and the PC are both on a network and can communicate with > each other. > > Firstly, is it possible to print from Solaris, to the "shared" printer > directly attached to XP? It is, but results I've had with this are mixed. as another poster indicated, what you want to do is install the windows tcp/ip service on XP which gives you the port 515 listener that unix looks for. Then you have to create an "lpr port", IIRC, and create your shared TCP/IP printer on that port, using the proper driver. You then create a remote printer on the sun side: # lpset -a bsdaddr=, (or use admintool or printmgr to "add access . . ." or "create new remote printer". I did this on an XP SP1 machine to my Canon PIXMA 3000 printer and was able to send only one print job from my Solaris 9 system. I got one print job and the rest that I tried never printed. I never had time to troubleshoot it beyond that. On the other hand, customers I talk to here at Sun use this alot, but are typically dealing with more expensive "business class" printers with I expect are more robust drivers. //////////////////////////////////////////////////////////////////////////////