printing using usb

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jojopangit
    New Member
    • Feb 2007
    • 11

    printing using usb

    i have a new pc without parallel port only usb port and since my printer is EPSON LQ2180 i use usb to parallel cable.i have the following code in vb6 that does not work with my current pc:

    open "lpt1" for output as #1
    print #1, "PRODUCTION REPORT FOR THE MONTH"
    print #1, "SORT BY ASSURED"
    close #1

    the above code works well in my laptop with parallel port.

    i badly need help so i can use the above code to print using my pc with usb port.

    thanks in advance
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Have you Installed the Printer Driver properly...?
    If not, Install (from the CD given along with printer)
    and Make this printer as "Default Printer"
    Can you print from other programs like Word/Excel..?


    Regards
    Veena

    Comment

    • jojopangit
      New Member
      • Feb 2007
      • 11

      #3
      yes, driver properly installed and printing from word/excel works properly.

      Comment

      • QVeen72
        Recognized Expert Top Contributor
        • Oct 2006
        • 1445

        #4
        Hi,

        Set the Printer as Default and try Printing using the "Printer Object"

        [code=vb]
        Printer.Print "PRODUCTION REPORT FOR THE MONTH"
        Printer.Print "SORT BY ASSURED"
        Printer.NewPage
        Printer.EndDoc
        [/code]

        Regards
        Veena

        Comment

        Working...