Fusion

 View Only
Expand all | Collapse all

Printer disgorges code rather than document

  • 1.  Printer disgorges code rather than document

    Posted May 22, 2008 10:47 PM

    Greetings,

    I am running VMWare Fusion 1.1.2 on a Mac OX 10.5.2 host.

    I believe I have successfully configured my printer using Bonjour for Windows.

    When I attempt to print a one page MS Word Document, the document does not exit the printer, rather 10 pages of code is printed.

    Might anyone have any suggestions?

    Many thanks

    koppelman1



  • 2.  RE: Printer disgorges code rather than document

    Posted May 22, 2008 11:11 PM

    What model printer? Can you update the Windows driver? Or instal a different driver. For example, many laser printers emulate a HP Laserjet 4. Many HP Deskjets will work with HP Deskjet 560 or 660 drivers. All of those drivers are included in Windows.



  • 3.  RE: Printer disgorges code rather than document

    Posted May 22, 2008 11:18 PM

    You need to be using a PostScript Driver if your using Bonjour for Windows so make sure the drive your using is PostScript.



  • 4.  RE: Printer disgorges code rather than document

    Posted May 22, 2008 11:38 PM

    Thank you WoodyZ

    In the Bonjour Printer Wizard, I already selected "Generic/Postscript" under the column heading "Printer Model".

    Is this what you had in mind?

    koppelman1



  • 5.  RE: Printer disgorges code rather than document

    Posted May 23, 2008 12:20 AM

    I'm talking about what Driver is listed on the Advanced tab of the Printer's Properties dialog box found by right-click > select Properties on the target printer in Start > Printers and Faxes (if Windows XP).



  • 6.  RE: Printer disgorges code rather than document

    Posted May 23, 2008 04:39 AM

    Thanks WoodyZ

    I have followed your suggestion. The driver listed is "HP Color LaserJet 4550 PS".

    Does "PS" stand for Postscript?

    Peculiarly, this HP Color LaserJet 4550 PS is not the name of my printer. The name of my printer is listed just below it. When I choose the name of my printer, I cannot generate a test page at all. When HP Color LaserJet 4550 PS is chosen as the driver, printing a test page generates 15 pages of code.

    Is this making any sense?

    koppelman1



  • 7.  RE: Printer disgorges code rather than document

    Posted May 23, 2008 04:54 AM

    On the Advanced tab click the New Driver... button an try selecting Apple and Apple LaserWriter 12/640 PS or Apple LW 12/660 PS if your printer is a color printer. See if that works better.

    BTW in the future it would be more helpful if you would include the information requested in . Things like Host OS ver, Guest OS ver, Fusion ver and in a case like this printer make model, how it's connected etc.



  • 8.  RE: Printer disgorges code rather than document

    Posted May 23, 2008 05:52 AM

    I have followed your suggestion WoodyZ, by adding a new driver called Apple LW 12/660 PS.

    When I print a test page, I am greeted with reams of code. When I print a MS Word page I am greeted with the same.

    Forgive me for not including other information that may be relevant.....

    Fusion v. 1.1.2 guest running Windows XP SP3

    Mac OS 10.5.2 Host

    MacBook Pro

    Virtual Machine came from Virtual PC7.0.3

    Printer is on Wireless Apple Airport Router

    Model of my printer: HP CP1160

    I have followed the Video Tutorial on the VMWare website regarding configuring a printer

    The printer works on the wireless network using the host operating system but not with the guest

    I appreciate your efforts to try to help

    koppelman1



  • 9.  RE: Printer disgorges code rather than document

    Posted May 23, 2008 02:23 PM

    Did you uninstall Microsoft Virtual Machine Additions before you Imported/Converted the Virtual PC7.0.3 Virtual Machine?

    There are a few other ways to try setting up the printer to get it to work properly.

    =====================================

    Ascertain the IP Address of the Printer attached to the AirPort and then setup the printer in the following manner...

    In the Windows XP Virtual Machine...

    Click Start > Printers and Faxes

    In Printers and Faxes click the File > Add Printer command

    On the Add Printer Wizard dialog box click the "Next >" button.

    Select the "Local printer attached to this computer" radio button and uncheck the "Automatically detect and install my Plug and Play printer" check box then click the "Next >" button.

    Select the "Create a new port:" radio button then in the "Type of port:" list box select "Standard TCP/IP Port" then click the "Next >" button.

    Click the "Next >" button.

    In the "Printer Name or IP Address:" text box type the IP Address of the Printer and the "Port Name:" text box will populate automatically then click the "Next >" button.

    Click the "Finish" button.

    You should now be at the Install Printer Software segment of the Add Printer Wizard so select the Manufacture and Printer or use the "Have Disk..." button and follow through with the ensuing dialog boxes.

    Your Printer should now be setup.

    =====================================

    If that way doesn't work try this...

    Start the Bonjour Printer Wizard

    On Welcome to the Bonjour Printer Wizard click the "Next >" button

    On Browse for Bonjour Printers select the target Printer and click the "Next >" button

    On Install Bonjour Printer click the "Have Disk..." button

    In the Open dialog box navigate to where the Drivers are located on the CD or if you downloaded Drivers from HP where they were extracted to the Hard Drive and then follow through with the ensuing dialog boxes.

    Your Printer should now be setup.

    =====================================

    If that way doesn't work try this...

    Share the Printer in OS X and then in Window XP...

    Click Start > My Network Places

    In My Network Places click "View workgroup computers".

    Double-click the Mac Computer whatever it's named.

    If you don't see the target printer double-click "Printers and Faxes".

    Right-click the target printer and select "Connect..."

    Follow through with the ensuing dialog boxes selecting your Manufacture Make and Model only if there is a PostScript Driver for that Manufacture Make and Model and if not select the Apple Drivers previously mentioned.

    Your Printer should now be setup.

    =====================================

    Hopefully one of these ways will allow you to properly print from Windows XP.



  • 10.  RE: Printer disgorges code rather than document

    Posted May 24, 2008 06:08 PM

    Wow! I am overwhelmed by the help WoodyZ

    In your first suggestion, I attempted to ascertain the IP address of my Printer attached to my Airport Express Wireless Router. The printer is attached to Airport Express via a USB cable. I guess that means the printer does not have its own IP address. When I enter the IP address of the Airport Express Router to the proper place in the Add Printer Wizard, I am informed that the printer cannot be located.

    In your second suggestion, I attempted to lead the Bonjour Printer Wizard to the proper location of the relevant driver. I believe you are correct WoodyZ in concluding that my printer does not have a PS-compatible driver. Therefore, I went to the HP Website and downloaded a Universal Printer Postscript Driver. When I arrived to the Windows Add Printer Wizard, I was prompted to choose a port. I chose "Local" and searched the dropdown window for the Airport Wireless Router. (I also tried clicking the radial button for Create New Port, but I had to type in stuff when I chose "Standard TCP/IP" and I did not know what to enter.) When I arrived to the point of printing a test page, a message popped up informing me that the Driver is not a supported HP Device.

    In your third suggestion I attempted to select "View Workgroup Computers". Here you advised me to click on the name of the Mac Computer. But the only thing listed was the name of the guest machine (it is named "WindowsXP Home). I clicked on WindowsXP Home and saw a list of five printers including the Universal PostScript Driver I had just downloaded. When I right-clicked and selected "Connect", the printer queue window opened but nothing else occurred. No other dialog boxes appeared. I tried to right-click on the remaining printers that were listed and they all launched the printer queue windows but no other dialog boxes.

    Are we venturing where no man has gone before?

    koppelman1



  • 11.  RE: Printer disgorges code rather than document

    Posted May 24, 2008 06:38 PM

    Are we venturing where no man has gone before?

    I have used all three methods (and other methods as well) exactly as described to setup printers. Sometimes one will have problems if the Resources are not correctly Shared and or Firewall Settings are not correct and or if User Account Information is not being properly validated depending on just what method one is trying to use.

    What I can tell you, not counting the time it takes to download drivers and or physically setup a printer, I have never had spend more then a few minutes setting up a printer when using drivers only. Obviously a printer that comes with various application packages takes longer however when it comes basic network printer setup with drivers only... well it took me much longer to provide the previous directions then it has ever take to set one up. :smileyhappy:

    I gather your issue is still unresolved and if you haven't found a solution from other posts and or resources I'll see what else I can offer although it may be after the long weekend.

    Have a nice weekend. :smileyhappy:



  • 12.  RE: Printer disgorges code rather than document

    Posted May 25, 2008 03:39 AM

    This printer isn't a PostScript printer, is it? That's why you're getting "code" i.e. the PostScript code printed out.

    Remote printers on an Airport Base Station need to use the printer model's specific driver. If it's a non-PostScript printer, you need to use a non-PostScript printer driver (i.e. the HP CP1160 driver) and not the Generic PostScript driver. The Airport Base Station does not have a built-in PostScript interpreter to drive a non-PostScript printer (it does not run the CUPS printing system) - so the Windows (or Mac) host has to provide the driver to translate the print stream into the printer's native language (usually PCL for non-PostScript HP printers).

    Try one of the two following things:

    1) Turn on printer sharing on your Mac. Use the Bonjour Printer Wizard to set up that printer within your XP VM. Configure the printer so use the PostScript driver. When you print, the print job will be created in PostScript, and then sent to the Mac's printing system, which will convert the PostScript into PCL for the HP printer and send it to the HP printer attached to the Airport station.

    - or -

    2) Install the HP CP1160 printer driver on your XP VM (the one you would use if the printer were directly attached to a "real" XP system). Use the Bonjour Printer Wizard within your VM to configure the printer found on the Airport station. When asked, pick the HP CP1160 driver. Your print job will be converted to PCL within the XP VM, which will be sent to the HP printer attached to the Airport station.



  • 13.  RE: Printer disgorges code rather than document

    Posted May 25, 2008 11:46 PM

    Thanks for your efforts to lend a hand Technogeezer.

    I am inclined to believe that your are correct. My 6 year old printer is not PostScript capable.

    The best that I can determine, when I originally imported the VM using Importer Beta from Virtual PC7, the printer was assigned a PostSCript compatible driver. I conclude this because when I display the properties of the printer in Windows XP, in the editable field adjacent to the icon of a printer,there is displayed the name of my printer (HP CP1160)

    A few lines down, in an uneditable field adjacent to the word, "Model" is displayed the name of a different printer HP Color LaserJet 4550 PS". I assume that the abbreviation "PS" stands for PostScript". I don't know if I am justified to conclude that the Windows XP OS contains the print driver for HP Color LaserJet 4550 PS. Nor do I know for that matter if the driver for HP Color LaserJet 4550 is compatible with my CP1160 Inkjet series printer.

    In any event, I have tried suggestion #1 that you proposed and I did not succeed.

    I proceeded to suggestion #2. Upon downloading the driver for HP Color LaserJet 4550 PS/PCL Bundle, Windows Add Printer Wizard did not launch. If my memory is correct (frequently it fails me), yesterday when I downloaded the Universal PostScript driver from HP, the Wizard automatically launched.

    I went ahead and ran Bonjour Printer Wizard and as expected I did not see HP Color LaserJet 4550 as a choice, so I clicked on "Have Disk" to direct the Wizard to the folder of driver files. The Bonjour Wizard informed me that it could not find the location of HP Color LaserJet4550.

    Technogeezer, I don't even know if HP Color LaserJet 4550 is an appropriate surrogate PostScript compatible driver for my Inkjet HP CP1160. That is why I had chosen yesterday to download the Universal PostScript driver from HPs website.

    To summarize:

    1. I have downloaded onto my XP VM, the driver for HP Color LaserJet 4550 PS/PCL bundle but the Windows Add Printer Wizard does not automatically launch and I don't know how to manually install the driver.

    2. I don't know if HP Color LaserJet 4550 is a PostScript compatible surrogate for my Inkjet HP CP 1160 printer. My reason for choosing this LaserJet driver is based on the Windows OS assigning it to my printer at least as reflected in the "properties" pane of my printer.

    I am grateful for the time you have offered to assist me. If this verbose description conjures additional thoughts, I would be most pleased to hear them.

    koppelman1



  • 14.  RE: Printer disgorges code rather than document

    Posted May 26, 2008 12:05 AM

    You need to download this file cp160en.exe in the Windows XP Virtual Machine and then execute it and it will extract to a folder named "extract" in the folder the cp160en.exe was saved. Then...

    Start the Bonjour Printer Wizard

    On Welcome to the Bonjour Printer Wizard click the "Next >" button

    On Browse for Bonjour Printers select the target Printer and click the "Next >" button

    On Install Bonjour Printer click the "Have Disk..." button

    In the Open dialog box navigate to where the Drivers are located from were they were extracted from the file downloaded from HP and then follow through with the ensuing dialog boxes.

    Your Printer should now be setup with the correct drivers.



  • 15.  RE: Printer disgorges code rather than document

    Posted May 26, 2008 07:19 AM

    Thanks for taking time from your weekend to offer more assistance WoodyZ

    I downloaded the file from the link you provided.

    I clicked on "Run"

    A folder called "extract" appeared on my desktop.

    The folder contains 23 files. One of the files is a "Notepad" file, 21 files are either DL files or EX files and the last file is a Crypto Extension file

    I launched Bonjour Printer Wizard

    I selected HP CP1160 as my printer

    I selected Generic/PostScript as the model

    I clicked on "Have Disk"

    A dialog box appeared and I navigated to the "Extract" folder on my desktop

    I clicked "Open"

    Only the "Notepad" file from the 23 files in the extract folder appeared in the dialog box

    I selected this file.

    I clicked "Open" once again in the dialog box.

    The Bonjour Printer Wizard window pane reappeared informing me that it could not locate the driver.

    Why wouldn't all 23 files (rather than just the one "Notepad" file) within the folder called "Extract" appear in the dialog box? Might this observation be a clue to my problem?

    I am feeling impotent and hope I am not trying your patience to the breaking point.

    koppelman1



  • 16.  RE: Printer disgorges code rather than document

    Posted May 26, 2008 02:18 PM

    Okay, lets try this...

    I assume you still have the Printer setup in Printers and Faxes so lets try updating the Driver from there.

    Start > Printers and Faxes > Right-click the target Printer and select Properties > Advanced tab > click the New Driver... button > "Next >" button > "Have Disk..." button > "Browse..." button > In the Locate File dialog box use the controls to navigate to the location the cp160en.exe files were extracted to and select the HPF1160K.INF file then click Open button. Next click OK and select the hp cp1160 then click "Next..." button and then the "Finish" button.

    Now the Driver should show as hp cp1160 so click the General tab and then the Print Test Page button.

    Is it working right now? :smileyhappy:



  • 17.  RE: Printer disgorges code rather than document

    Posted May 26, 2008 09:23 PM

    I succeeded to assign the driver files (whose link you provided) to my printer WoodyZ ! I feel I am making progress.

    Yet when I choose "Print Test Page", an error message appears saying that the test page could not be printed. I am asked if I wish to run the troubleshooter. At least 15 pages of code was not regurgitated by the printer. But alas the printer does not generate the test page.

    WoodyZ , if your suspicion is correct that the CP1160 print driver is not PostScript capable, would you have expected the the test page to print? My (mis)understanding of your original troubleshooting advice was that PostScript incapable drivers will not work.

    Another thing came to mind....in an earlier post in this thread you spoke of other issues that could complicate a printer setup. One of the issues you mentioned was firewall. Do I need to check the configuration of the Windows XP firewall?



  • 18.  RE: Printer disgorges code rather than document

    Posted May 28, 2008 02:43 AM

    WoodyZ

    I am very appreciative for the time and patience you spent with me on this problem.

    At this point would you recommend that I attempt to contact VMWare tech support?

    koppelman1



  • 19.  RE: Printer disgorges code rather than document
    Best Answer

    Posted May 26, 2008 02:43 PM

    Only the "Notepad" file from the 23 files in the extract folder appeared in the dialog box

    By the "Notepad" file, I assume that you meant the "HPF1160K.INF" file. This is not, by the way, a "notepad" file, but a driver information file used by the setup wizards to configure the driver.

    I selected this file.

    I clicked "Open" once again in the dialog box.

    The Bonjour Printer Wizard window pane reappeared informing me that it could not locate the driver.

    Did a dialog like the following show up when it said it could not locate the driver? Note the "HP" in the Manufacturer section of the dialog.

    If so, click on the "HP" in the Manufacturer pane, and "hp cp1160" should appear in the Model pane. That will look like the following:

    Select the "hp cp1160" once it appears and then click "Next" in the wizard. You should then be able to continue with the Bonjour Printer Setup with the correct driver.



  • 20.  RE: Printer disgorges code rather than document

    Posted May 26, 2008 03:25 PM

    By the "Notepad" file, I assume that you meant the "HPF1160K.INF" file. This is not, by the way, a "notepad" file, but a driver information file used by the setup wizards to configure the driver.

    Technical Nitpick: As a programmer I have written may .INF files using Windows Notepad and Windows Notepad files are, by default, ANSI ASCII Text Files (plain text) and an .INF file is a plain text file that by default (the Open Verb registered in the Windows Registry - "HKEY_CLASSES_ROOT\inffile\shell\open\command" = "%SystemRoot%\System32\NOTEPAD.EXE %1") when double-clicked opens in Notepad and while an .INF File does contain Setup Information and while INF files are not commonly referred as a Notepad files they are nonetheless at the very least in a generic sense if not more are Notepad files.



  • 21.  RE: Printer disgorges code rather than document

    Posted May 26, 2008 09:12 PM

    Thanks Technogeezer

    The listing in the "Manufacturer" column reads "generic"

    The two listings in the "Model" column reads "Generic/PCL" and "Generic/PS"



  • 22.  RE: Printer disgorges code rather than document

    Posted Jun 03, 2008 04:01 AM

    Technogeezer,

    Upon carefully re-reading your visual aid of the dialog boxes, I followed your steps and, voila! I am able to print from my guest OS to my printer via Airport Express. I am most grateful to you for all your efforts on my behalf.

    Thank you, merci, obrigado, domo arigato gozaimashita, grazie, danke well, gracias, harbeh todot,

    koppelman1