How can I print to a USB printer?

QEMU running on Mac OS X

Moderators: cordney*, kberg, cordney*, kberg

How can I print to a USB printer?

Postby Forrest on Sun Jan 20, 2008 6:49 pm

Is there any way to print to a USB printer under Windows98SE or XPSP2? I'm using a G4 and G5 computers running the OSX 10.4.11

If this isn't possible with the current version, will it work with the next version Q 0.9.1?
Forrest
 
Posts: 2
Joined: Sun Sep 30, 2007 10:30 am

Re: How can I print to a USB printer?

Postby kberg on Mon Jan 28, 2008 6:04 pm

Direct USB Support is not planned for the next two weeks... ;)

but try this workaround:
install the free windows pdf printer from http://www.pdf995.com/ (or ghostscript for ps)
save the pdfs (or ghostscript ps) to the Q shared folder
print the pdfs (or ghostscript ps) from OS X.

There are some genius'es, that springload the shared folder with a script, that automatically print every pdf/ps that is sent to the Q shared folder.

Mike
User avatar
kberg
helper
 
Posts: 385
Joined: Mon Jun 27, 2005 2:26 pm

How print to a USB printer via IPP (Internet Printing Protoc

Postby dfennell on Mon Jan 28, 2008 7:55 pm

Hi Forrest, another option is to share your USB printer on the host Mac and print to it from the QEMU guest over the network connection using IPP (Internet Printing Protocol). I've tested this under WinXP, but not Win9x recently.
David

  1. Share your Mac printer
    • open System Preferences > Sharing
    • mark "Printer Sharing" in the left column
    • mark your printer on the right side of the window
    • hit the "Open Print & Fax Preferences" button
    • hit the "Open Print Queue" button
    • hit the "i" Info icon
    • note the Queue Name (eg. "Epson_Stylus") for later use. I recommend a short name.
    • hit the "OK" button and close the preferences window.
  2. Start the QEMU guest system
  3. For Windows 9x/ME
    • download and install Microsoft Internet Print Services (wpnpins.exe) from Microsoft or the PowerLoad archive. I understand that it is also in the addons folder of the Windows Me Install CD.
    • re-boot
    • open Control Panel > Add/Remove Programs > Windows...
    • confirm that Internet Print Services is installed ok
    • download a Win9x Postscript driver from here.
    • install the Postscript driver, specifying "Print to the following port" as:

        http://10.0.2.2:631/printers/queue-name
      where queue-name is the Mac printer queue name (eg. "Epson_Stylus")
  4. For Win2K+
    • select Start > Settings > Printers
    • double-click the "Add Printer" icon
    • in the "Welcome..." window, hit the Next button
    • select the "Network printer" radio button, then hit the Next button.
    • select the "Connect to a printer on the Internet..." radio button, then type in the URL for the Mac print queue like this:

        http://10.0.2.2:631/printers/queue-name
      where queue-name is the Mac queue name (eg. "Epson_Stylus")
    • hit the Next button.
    • select the printer manufacturer "Generic" in the left scrolling list and select the printer model "MS Publisher Imagesetter" in the right list, then hit the "OK" button.
    • on the "You have successfully..." pop-up, hit the Finish button.
  5. For non-US users:
    • on the Printer properties General tab, hit the "Printing Preferences..." button, then the "Advanced..." button, specify a Paper Size of A4, then hit the "OK" button twice.
    • on the Printer properties Device Settings tab, set the Form to Tray Assignment to "A4", then hit the "OK" button.
  6. On the Printer properies General tab, hit the "Print Test Page" button and check the results.
Troubleshooting Tip
You can check network access from the guest system to the OS X host print queues by opening a browser to http://10.0.2.2:631/

References
Credit to:
dfennell
helper
 
Posts: 107
Joined: Sun Sep 18, 2005 3:56 am
Location: Sydney, Australia

Re: How can I print to a USB printer?

Postby kberg on Mon Jan 28, 2008 11:21 pm

Cool!
I'll add this to the FAQ asap.

Mike
User avatar
kberg
helper
 
Posts: 385
Joined: Mon Jun 27, 2005 2:26 pm

Re: How print to a USB printer via IPP (Internet Printing Protoc

Postby tDeContes on Thu Dec 04, 2008 8:10 am

thank you very much, now i can print in windows / qemu :-) :-)

would you have a tutorial for linux, too, please ? :-)


dfennell wrote:
  1. For Win2K+
    • select Start > Settings > Printers
    • double-click the "Add Printer" icon
    • in the "Welcome..." window, hit the Next button
    • select the "Network printer" radio button, then hit the Next button.
    • select the "Connect to a printer on the Internet..." radio button, then type in the URL for the Mac print queue like this:

        http://10.0.2.2:631/printers/queue-name
      where queue-name is the Mac queue name (eg. "Epson_Stylus")
    • hit the Next button.
    • select the printer manufacturer "Generic" in the left scrolling list and select the printer model "MS Publisher Imagesetter" in the right list, then hit the "OK" button.
    • on the "You have successfully..." pop-up, hit the Finish button.


i have a name of printer which is nearly the same (FX 880 instead of FX 890)
should i choose this one to maybe have more features, or should i choose Generic anyway because the driver is on the mac and in windows the driver must be generic ?


dfennell wrote:
  1. For non-US users:
    • on the Printer properties General tab, hit the "Printing Preferences..." button, then the "Advanced..." button, specify a Paper Size of A4, then hit the "OK" button twice.
    • on the Printer properties Device Settings tab, set the Form to Tray Assignment to "A4", then hit the "OK" button.


i need to personalize the paper size (76*106, 101*106, 216*112 mm)
is it strongly impossible in this way, or is there a way to do that ?


dfennell wrote:You can check network access from the guest system to the OS X host print queues by opening a browser to http://10.0.2.2:631/


very usefull :-) :-)
tDeContes
 
Posts: 0
Joined: Mon Jun 30, 2008 3:04 pm

Re: How can I print to a USB printer?

Postby dfennell on Thu Dec 04, 2008 9:05 am

tDeContes wrote:. . .
i have a name of printer which is nearly the same (FX 880 instead of FX 890)
should i choose this one to maybe have more features, or should i choose Generic anyway because the driver is on the mac and in windows the driver must be generic ?
. . .
i need to personalize the paper size (76*106, 101*106, 216*112 mm)
is it strongly impossible in this way, or is there a way to do that ?

Hi, I advise you to try your own options and post the results back here!
David
dfennell
helper
 
Posts: 107
Joined: Sun Sep 18, 2005 3:56 am
Location: Sydney, Australia

Re: How can I print to a USB printer?

Postby jooney on Tue Aug 25, 2009 9:20 am

Why are laser printers that print tabloid a lot more expensive than a regular laser printer? They only print a few inches more in width. I know they may also be better in other things (compared to the small ones), but all I need is a color laser printer that prints tabloid. Can you recommend me an affordable color laser printer that prints tabloid size?
jooney
 
Posts: 0
Joined: Mon Aug 24, 2009 11:15 am


Return to QEMU for Mac OS X

Who is online

Users browsing this forum: No registered users and 1 guest