POS Bill Printing using OPOS

Hi All,
Currently I am printing this using Reportwizard, but I have to do this by using POS Printer.
I need to print a receipt by programming in C# to a POS Printer
this data will be populated from database as a data table.  All it needs to do is print a sample receipt that shows the table as shown below.
This is the format that i am looking for
ABCDEF Pte. Ltd.
123 My Street, My City,
My State, My Country
012-3456789
DATE : 01/01/1970
CASHIER : ABCDEF
item(width 5cm)        qty(width 1cm) Unit Price (width 2cm)   Total (width 2cm)
================================================================
Item 1                         10                        9.99                                 99.99
Item 2                         101                      0.00                                   0.00
Item 3                          9                         0.10                                   0.90
Item 4                          1000                   1.00                             1000.00
                                                            SUB-TOTAL                    1.00
                                                            TAX                                 0.10
                                                            DISCOUNT                       0.10
                                                            TOTAL                            0.80
                           THANK YOU FOR CHOOSING ABC Pte. Ltd. 
Please post the sample code for printing datatable at a time. I am using EPSON TM-T111V8 Printer.
Thanks in Advance

Hi Yort,
Thanks for your answer, now i am able to cut the paper size as i reqired. As i am testing my application, while keep on printing the Reciepts, runtime issues occured in the application. not able to know the reason why they come and one more, some times the printer is hangup for some time.
Could you please let me know what might be the reason. here the sample code and error message in detail.
try
//Prepare PrinterHeader
string sHeader = Environment.NewLine +" XYZ " + Environment.NewLine +" www.xyz.com " + Environment.NewLine +" Sales : 400 " + Environment.NewLine +" Welcome : 123 " + Environment.NewLine + "--------------------------------------" + Environment.NewLine;
oPrinter.PrintNormal(PrinterStation.Receipt, sHeader);
//Print Bill Info
foreach (DataRow dr in ds.Tables[0].Rows)
iCount++;
str += "Customer Id" + dr["CustomerId"].ToString() + "--" + dr["TotalAmount"].ToString() + Environment.NewLine;
oPrinter.PrintNormal(PrinterStation.Receipt, str);
//Printer Footer
string sFooter = Environment.NewLine +"----------------------------------------" + Environment.NewLine + " Note : (*) Are Loyalty Incentives " + Environment.NewLine +" Thank You For Visiting " + Environment.NewLine + "----------------------------------------" + Environment.NewLine;
oPrinter.PrintNormal(PrinterStation.Receipt, sFooter);
//Print EmptyLines
string sEmptyLines = string.Empty;
sEmptyLines = Environment.NewLine +Environment.NewLine +Environment.NewLine +Environment.NewLine +Environment.NewLine +Environment.NewLine;
oPrinter.PrintNormal(PrinterStation.Receipt, sEmptyLines);
//Cut the Paper
oPrinter.CutPaper(1);
catch (Exception ex)
   MessageBox.Show(ex.ToString());
Error Message :
Microsoft.PointOfService.PosControlException: It could not complete output within the specified period.   at jp.co.epson.upos.trace.pntr.CommonPosPrinterTraceService.PrintNormal(PrinterStation station, String data)   at MSR1.frmPoleDisplay.button1_Click(Object sender, EventArgs e) in D:\C Drive Backup\POS Driver Implementation\CS_Examples\CS_Examples\MSR1\MSR1\frmPoleDisplay.cs:line 201ErrorCode: FailureErrorCodeExtended: 1007

Similar Messages

  • HP A799 POS receipt printer with opos driver

    Hello, does receipt printer opos driver support logo printing?
     Printer model A799-C40W-HN00
    opos driver installed from:
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome/?sp4ts.oid=5081353&spf_p... - PoS - Receipt Printer
    Thank you 
    Best Regards
    Mantas

    Hello there,
    To get your issue more exposure, I would suggest posting it in the commercial forums since your product is a commercial product. You can do this at Commercial Forums.
    Enjoy your day!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Billing printing

    Hello
    I need some help about a strange problem during the print preview of different billing in a EHP4 FOR SAP ERP 6.0 / NW7.01 .
    In SP01 i see the spool with (for example) 6 pages to print. In print preview , i can see only 3 pages.
    If i print with my locl printer i have 6 pages correctly but if i use the report RSTXPDFT4 to download in PDF the spool i have only 3 pages.
    How can i solve this problem please?
    Thanks
    Nicola

    The problem is the following:
    My system has several application servers in multi platform operative system (Solaris and Linux) with different codepages.
    the spool is created using different report (in my case 6 report)
    3 of them were run in solaris system and other 3 in linux system.
    The spool preview doesn't able to manage different codepages in print preview and sap should find a solution in few days.
    no problem instead for the printing using local or other printer because the note 1130679 solves the problem.
    Thanks all
    Nicola

  • Billing print program

    Hi Experts,
    I have a requirement to develop a custom JV billing form using SAPSCRIPT. After investigating the print program, I found that I would need to customize the standard print program in order to produce the custom billing form.
    I have finished the development of the program and the form, but am having difficulties with the settings in SPRO.
    Configuration was done through TCODE GJ81.
    From my past experience, such as in PO form configuration, we can easily change the print program and use the matching form to be used for the print program. In the billing configuration, but here it seems that I cannot change the print program only the form.
    Does anyone know how I can change the print program also?
    Many thanks in advance for your kind help,
    Best regards,
    Fandi

    Does any one has any lead on this?
    I have tried posting an OSS message and are currently are waiting for their response to the matter.

  • How to suppress extra form feed for character report printing using ORARRP?

    Dear All,
    We are using Oracle Application Server 10g (10.1.2.0.2) on Windows 2003 Server and most of our client PC's are Windows XP Professional machines. We are migrating our existing oracle application from 2-tier architecture to 3-tier architecture (6i to 10g). We have installed ORARRP utility for remote direct printing and to a limited extent we are successfull in getting the things work out for our system users, However, we are facing a problem using the ORARRP utility for which we are not able to find a solution till date.
    We have configured ORARRP utility on every user's PC and the printing of bitmap reports is working well. However, while printing CHARACTER reports using ORARRP utility, after the report gets printed, an EXTRA FORM FEED is issued by ORARRP to the printer and because of this the printer stationary skips one extra page and advances to the next page. Please note that this EXTRA FORM FEED happens only while printing a CHARACTER REPORT.
    Has anyone come across such a problem using ORARRP ? How can we avoid this extra FORM FEED from CHARACTER REPORT printing using ORARRP ? Is there any other tool which supports remote direct printing just like ORARRP?
    I shall be highly obliged if anyone could reply to my queries ASAP.
    Regards,
    KrishnaKumar S

    Please help ! I tried the "send_form_feed" and "postscript_dos_print" parameters without success. The extra form feed is always there. Thanks.

  • HP Deskjet 3550 cannot print using Airport Extreme via USB connection on Windows 7 64 bits

    Product Name and Number: HP Deskjet 3550 Inkjet Printer
    Operating System installed: Windows 7 Home Premium 64 bits
    Error message: None
    Any changes made to your system before the issue occurred: Setting up HP printer using Airport Utility to add a new printer and installed Bonjour Print Wizard.
    Problem: My printer is already set up using Airport Utility. When I print something, the printer doesn't do anything. Is there something I haven't done lately in order to get this printer working using my wifi router?
    Suggestion #1: Are the print jobs getting stuck in the print queue? You can check this by clicking on the printer icon in your task tray by the clock.
    Error Message #1: Yes, the print job got stuck in the print queue, but the moment, it disappeared from the print queue and the printer doesn't print at all. This is frustrating.
    Suggestion #2: Does the printer work as expected if you connect it directly to the PC via USB?
    Error Message #2: Yes, the printer works if I connect it directly to my PC via USB, but I don't understand why it wouldn't work with the wifi router, though.
    Suggestion #3: This has to do with the way the router handles the connection to the printer. I found another thread, regarding this issue, and it has some information that may help resolve it.
    http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/Print-Problem-Using -USB-Printer-on-Airp...
    If that does not help, I would recommend posting on the Apple forums, as they may have more expertise with the router's abilities:
    https://discussions.apple.com/community/wireless/airport
    Error Message #3: After clicking on the first link that you posted, it was very helpful, but the printer couldn't print completely and somehow it would stop at the quarter of a paper. It looks incomplete when I took it out from my printer. It does that every time.

    UPDATE!
    Problem solved!  So this is just a followup in case someone else ever stumbles into these boards with the same or similar problems as mine, that is, trying to run an HP Deskjet D1500 series printer [mine's a D1520] on an Airport Extreme wifi router's USB port as a network printer [with the Airport Extreme controlled by an ancient G4 PowerMac Quicksilver currently running OS X 10.4.11).
    Although it probably SHOULDN'T matter, since this type of printer works fine with just the Tricolor cartridge as shipped when hooked up directly to a computer's USB port, on a hunch I got a black HP cartridge (that's a type 21, not type 22 as I had earlier said), slapped it in, tried a test page, and all's well.  So, we can call off the technoid hounds.  Everything running perfectly.
    I hope this message in a bottle may help someone else out there some day soon who may be scratching his or her head with a similar stumper.  And just to recap those important Windows printer settings, they are:
    * [Printer Properties--> Ports--> Add New Port...] "Standard TCP/IP Port"
    * [Configure Port] IP Address "10.0.1.1" and Port "9100"
    Best of luck!
    Bilgey

  • PhotoSmart 310a doesn't print using wireless connection

    First... I have to say that if I had known what a HUGE pain in the butt this printer was I would never have bought it.  On top of that, the thing apparently doesn't have an option to "hard wire" connect it to my computer... which the guy at the store didn't bother to point out.  On top of that HP's customer service is, apparently, non-existent, as attempts to reach by phone are useless.
    They can't even seem to get the model number on the machine where you can find it... so the instructions on "how to find your model number" are useless.
    That said... here is my problem... which if I can't fix, I'm simply returning this and getting something else.
    I have my printer all set up.  Wireless is set up.  ePrint is set up.  Test pages print fine.
    I have actually been successful printing with it ONE time.... so I know that it can do it.
    It does give me a "low signal" message - however it seems to have no problem printing using the email option, or downloading from the web for the "reports."   It scans and my laptop "sees" the scanned image, which is transmitted over the wireless network.   If it is truly a low signal problem it seems like it would have issues with other functions regarding the internet.  
    BUT... when I send something from my laptop (MacBook OSX 10.5.8) to the printer it says...
    .. connecting
    .. idle
    .. priinting (%)
    .. then the print job disappears from the queue in the dialog box ... yet nothing actually prints out.
    .. it then say's "Printer Ready" - I guess ready for another print job that it won't perform.
    .. It does NOT give any kind of error code... say it's "paused" or anything like that.  It's as if it THINKS it is printing... but it does not.  It makes no sound like it's trying to print either.  Paper is loaded in fine and it will print test pages with no problem and doesn't indicate any problems on those other than "low signal"
    ... When I use the "printer utility" to print a test page - also goes wireless - it prints just fine.
    I've tried to use this printer only 4 times now for various jobs... and each time has been an ordeal lasting from 30 minutes to several hours.    I've managed to get it to print on one occasion... though I can not remember how I did it.
    It has NO problem printing from an email... so I guess I could just always do it that way... but it involves several extra steps to do so and I'm not even sure it would work for every type of print job I need.
    It works fine scanning
    It works fine photocoping
    It works fine printing from ePrint (email)
    It just DOES not print via the wireless connection
    I don't understand how a company can make something this sophisticated and not have it give you an ERROR CODE when it fails to complete a function... and frankly, I'm fed up with this thing.  It's a big, oversized, shiny paperweight and I've wasted way too much of my time trying to figure it out.  This is one last ditch effort.
    Can anyone help?    THANKS so much if you can!
    Sue

    It is more likely a network problem, so please tell me about your network - router brand/model, encryption type (WEP, WPA, etc) and ISP type (DSL, Cable, etc).
    In the mean time, you could try this quick trick; resetting the printing system:
    - Sys Prefs, Print & Fax
    - Right (control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add it. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
    Oh, and indeed this printer does have a USB port for connection directly to your computer.  It does NOT have an Ethernet port for connection directly to your router.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Unable print scheduled report on network printer using BOEXI 3.0

    Hi,
    I'm unable to print a scheduled report on network printer using BOE XI 3.0. I get the following error
    Error Message: Error in File ~ce6a054be1a25b52.rpt: Request cancelled by the user. ]
    Has anyone encountered this kind of problem and know what the solution is?
    Thanks,

    Hey Falk,
    Thanks for the response.
    I can print on a network printer after I changed 'Crystal Reports Job Server' to run under a user account that has privileges to access the printer.
    To answer your questions regarding the problem:
    >Can you schedule the report successfully ?
    >>Yes I was able to schedule the report successfully
    >Can you print the report successfully?
    >>NO the scheduled task would fail with the error message as posted above.
    Thanks,

  • Crystal report printing using epson dot matrix printer (continouos paper)

    Hi there, im tiff from the philippines.
    i have a  question on printing using a crystal report. How do i print using epson continuous printer(dot matrix)? im having a problem printing to that type of printer specially using continuous paper. the first page is correct but unfortunately the succeeding pages are not. its automatically adjusted upon reaching the second page. hope you can help me.
    thanks a lot and looking forward to hear from you soon.
    tiff

    Check with the printer manufacturer that the matrix printer is Unicode compliant. If it is not, it will  not work with Crystal Reports. If it is, make sure you have the latest printer driver updates.
    Download SP 1 for CR 102 from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    See the following resources re. printers;
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09051e9-721e-2b10-11b6-f9c65c64ef29
    [Note #1314394|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Ludek

  • How many lines we can print using Non-alv report list ?

    Hi Experts,
    How many lines we can print using Non-alv report list ?
    regards
    vishnu

    Hi,
    It depends on the page size according to the page size we can set the no. of lines as follows,
    REPORT  program_name   NO STANDARD PAGE HEADING
    LINE-SIZE 290
    LINE-COUNT 65.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • On MacBook Pro unable to print webpage; I get a single blank page. But I can print using Safari. Started last week while using Firefox 3.6. I downloaded Firefox 5.0--same problem.

    On MacBook Pro unable to print webpage; I get a single blank page. But I can print using Safari. Started last week while using Firefox 3.6. I downloaded Firefox 5.0--same problem.

    I am now able to do live broadcasts with my i-sight, but my original problem still exisits....
    Unsolved Problem:I need to be able to broadcast from CamTwist as CamTwist is the only program that will allow me to do what I need to do.   Justin.tv and Ustream.tv do not recognize CamTwist for reasons I can not explain.

  • Label Printing Using Address Book - How can I Print multiple labels of the same name?

    Label Printing Using Address Book - How can I Print multiple labels of the same name?

    I used to be able to print multiple copies of the same picture on one page using iphoto. There was a customise button when you went through to print and it was there somewhere. I can't see it anymore - maybe since an upgrade.
    It's gone. But as a work-around, duplicate your photo (⌘D) to create as many versions as you want copies and select all at once. Then use the "Custom" print layout and set the photo size you want.
    After printing, trash the added versions.

  • I want to set up my Epson printer using an airport and RR router. It was previously set up using a different router through HTC but same printer. How do I do this?

    I want to set up my Epson printer using an Airport and RR router. The same Mac Book and printer was formerly set up using a HTC router. How do I reset computer so it communicates with printer?

    http://support.apple.com/kb/HT3771
    Mac 101: Printing (Mac OS X v10.6)

  • How can I print using only black with the Lexmark Z810?

    Mac OS X 10.6.8
    Print Using 810 Series driver
    Printer Driver Version: 10.6.4
    I want to print using only the black cartridge.  I'm out of color ink.  However, I see no option to print using black only.  Consequently, when I print a document, only the parts of it that are black with show up on the paper.  Anything that has another color will not appear on the page.  Is there a solution to this problem?

    Print Options can be hard to find and sometimes seem to change locations depending on OSX version or printer model.  Here is where it is on the print dialog on my mini with HP printer.

  • Can't print wirelessly with HP 7410 printer using Airport Extreme

    I've got 3 Macs (2 laptops, one desktop) that I was using successfully with my wireless HP 7410 all in one printer using my old Airport Base (snow) Station (822 b & g). Just upgraded for a variety of reasons to the new Airport Extreme Base station and I have NOT been able to get the printer to print wirelessly.
    I have tried all available normal methods, including, but not limited to:
    1) resetting and restarting the printer and computer
    2) installing new printer software, including driver
    3) deleting and reinstalling printers using the "print and fax" system preference
    4) using the printer on a non-secure network
    5) setting up the printer to connect via IPP and LPP
    The end result of all of this is that the printer is attached to the network, but the computer (any of the 3) cannot connect to the printer. When I run the HP setup assistant, it cannot "find" the printer.
    Everything was working perfectly before I "upgraded." Why am I not able to print with the new base station?
    Your help would be greatly appreciated.

    I have the same proble trying to print. I have a Mac and 2 PC laptops. I tried to print to three different printers and it will not work. I called Apple support and I was told that it was set up and configured correctly, that it ust be my firewall blocking the printer. I'm at a loss after $179.00 and three hours of trying to get it to work.

Maybe you are looking for

  • How do I turn off Hyper-V 2012 server sleep mode?

    Just installed Hyper-V 2012 server on a HP ML360 G8. Also installed Corefig 1.1.1. It seems after about 10 minutes if idle time the monitor goes black and the unit goes into sleep or hibernation.  I have used powercfg to set it to the High Performanc

  • Can I install office 2007 on windows 8.1 64 bit

    I have an office 2007 which is currently installed on a machine running Office XP (SP3) 32 bit system and it is working fine. I guess that makes the office a 32 bit version. Now i have changed to a new laptop with pre-installed win 8.1 64 bit version

  • Group Import Member and Owner Reference Unavailable

    Hello,  I am having an odd issue. I created a new MA from AD to MV. It is looking specifically at an Applicaiton Group OU, There are only SG in there. When I do the import, then a sync, two fields are giving me errors Member and ManagedBy, they both

  • Measure network bandwidth of SQL Server

    Hi everyone, I'm using SQL Server 2k5. Now I get a request to measure the network traffic of a certain DB. For example, how many GB data are in and out from a DB in 1 hours or longer. Is it possible to use SQL profiler or some other tools to grab the

  • How to overlay a gif onto a still image

    Hello, I am new to photoshop and I was wondering if it is possible to place a gif on top of an image? I saw a tutorial on YouTube explaining how to do it on cs5 but I can't find any tutorials for element. Thanks in advance to anyone that answers.