Direct printer OCX

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2009-07-08 in Download section
Direct printer OCX
This is Automation for sending raw data into any windows printer. Can be used for controlling LCDs, money drivers, etc.

http://www.mibuso.com/dlinfo.asp?FileID=341

Discuss this download here.

Comments

  • jayasankarprkjayasankarprk Member Posts: 1
    Hello,

    You instructed to do like below...

    USING:
    Define Variable type Automation "'NaviPrinter Library'.NaviPrinterClass" and use method DirectPrint.
    Printer name parameter you can read from Navision table 2000000039 - Printer


    I register the .dll file and declare the variables..

    Name DataType Subtype Length
    naviPrinter Automation 'NaviPrinter Library'.NaviPrinterClass
    RecPrinter Record Printer

    I place a button on the item card form , in the button click i wrote code as below....
    naviPrinter.DirectPrint(RecPrinter.Name,"No.");

    I can't access the Network BarCode Printer ZDesigner TLP 2844 which uses an LPT1 Port.
    'RecPrinter.Name' variable have always blank.

    What i do for this.... Is any setting with the Printer needed...?
    Pls Help me..... ](*,)

    Regards,
    Jayasankar
  • subrataoctsubrataoct Member Posts: 4
    Hi Friend,

    i have tried you suggestion and the only problem i am facing is it is only printing the documents number not the full data.


    CREATE(Print_rec);
    Print_Select_Rec."Printer Name" := '\\sreddy\HP LaserJet 2300 Series PCL 5';
    Print_rec.DirectPrint(Print_Select_Rec."Printer Name","No.");

    using this command only printing the no. , can you tell me how do i print the whole invoice?
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Can this OCX be used to control the output of a matrix printer, by sending ESC-codes?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.