Crystal "PrintToPrinter" will not print to Zebra Label Printer... HELP!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ATJaguarX

    Crystal "PrintToPrinter" will not print to Zebra Label Printer... HELP!

    I have a Zebra S500 and multiple S600 label printers.



    They are currently being used in our legacy Foxpro application just
    fine. We are upgrading to ASP.NET and Crystal XI. I need to automate
    the process of printing these labels, so that when the use performs a
    specific action on the web app, the label automatically prints. The
    user cannot be taken to a "Print Preview" page... the label has to just
    print.

    Here is my code:

    With ReportDoc
    .SetDataSource( MyDataSet)
    .PrintOptions.P rinterName = "MyZebra"
    .PrintToPrinter (1, False, 1, 1)
    End With

    Simple and sweet.... but it doesn't work. If I change the PrinterName
    to our HP Laserjet 4 printer... it works just fine. If I take the user
    to a print preview window and allow them to print from there (by
    selecting the Zebra label printer), it also works just fine.

    A thing to point out... when I hit the code "PrintToPrinter " the
    activity light on the Zebra Label Printer blinks once... and thats
    it... nothing else happens. So I know its getting something, but it is
    apparently missing something as well.

    I have gone as far as setting the PaperSize, PaperSource, PageMargins,
    PaperOrientatio n to try to find something to make it print... but no
    such luck.

    ANY help would be greatly appreciated.

  • Homer J Simpson

    #2
    Re: Crystal "PrintToPr inter" will not print to Zebra Label Printer... HELP!


    "ATJaguarX" <ATJaguarX@gmai l.com> wrote in message
    news:1144943608 .041795.58740@j 33g2000cwa.goog legroups.com...
    [color=blue]
    > A thing to point out... when I hit the code "PrintToPrinter " the
    > activity light on the Zebra Label Printer blinks once... and thats
    > it... nothing else happens. So I know its getting something, but it is
    > apparently missing something as well.
    >
    > I have gone as far as setting the PaperSize, PaperSource, PageMargins,
    > PaperOrientatio n to try to find something to make it print... but no
    > such luck.[/color]

    Have you tried appending a form feed to the printer output?



    Comment

    • ATJaguarX

      #3
      Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

      How do I append a form feed to the printer output?

      Comment

      • ATJaguarX

        #4
        Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

        How do I append a form feed to the printer output?

        Comment

        • Homer J Simpson

          #5
          Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!


          "ATJaguarX" <ATJaguarX@gmai l.com> wrote in message
          news:1144959626 .722305.289900@ t31g2000cwb.goo glegroups.com.. .
          [color=blue]
          > How do I append a form feed to the printer output?[/color]

          That IS a question! Try adding another PrintDocument.P rint() to your Printer
          Object. Does the printer have a formfeed button? What happens if you print
          from VB, take the printer offline and press it?



          Comment

          • ATJaguarX

            #6
            Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

            I'm not using a printer object... I'm using a Crystal Reports
            "ReportDoc" object to print the report.

            Comment

            • ATJaguarX

              #7
              Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

              I'm not using a printer object... I'm using a Crystal Reports
              "ReportDoc" object to print the report.

              Comment

              • Homer J Simpson

                #8
                Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!


                "ATJaguarX" <ATJaguarX@gmai l.com> wrote in message
                news:1145020130 .547574.135330@ v46g2000cwv.goo glegroups.com.. .
                [color=blue]
                > I'm not using a printer object... I'm using a Crystal Reports
                > "ReportDoc" object to print the report.[/color]

                If you print more than one page do all but the last one print?



                Comment

                • ATJaguarX

                  #9
                  Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

                  The label is only 1 page. I have tried printing pages 1 to 10...
                  nothing prints at all.

                  Comment

                  • Homer J Simpson

                    #10
                    Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!


                    "ATJaguarX" <ATJaguarX@gmai l.com> wrote in message
                    news:1145048767 .502038.249890@ i40g2000cwc.goo glegroups.com.. .
                    [color=blue]
                    > The label is only 1 page. I have tried printing pages 1 to 10...
                    > nothing prints at all.[/color]

                    I can only suggest you try printing to a file and looking at the output. You
                    could also look at the properties for the printer. One final idea, set up a
                    generic printer and try some different commands with that.

                    Have you tried zebra.com?




                    Comment

                    • ATJaguarX

                      #11
                      Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

                      I have tried Zebra.com... they have nothing on there in terms of
                      Crystal Reports and/or .NET.

                      Comment

                      • Homer J Simpson

                        #12
                        Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!


                        "ATJaguarX" <ATJaguarX@gmai l.com> wrote in message
                        news:1145282011 .019361.80580@e 56g2000cwe.goog legroups.com...
                        [color=blue]
                        > I have tried Zebra.com... they have nothing on there in terms of
                        > Crystal Reports and/or .NET.[/color]

                        At this point I would look for a copy of 'prn2file' and use it to see what
                        is actually going to the printer.



                        Comment

                        • Crazyhorse
                          New Member
                          • Apr 2006
                          • 2

                          #13
                          Similar problem

                          Hi, I have a similar problem when trying to print with the print document object in vb.net, Have you found a solution yet??

                          Comment

                          • Stephen Plotnick

                            #14
                            Re: Crystal &quot;PrintToPr inter&quot; will not print to Zebra Label Printer... HELP!

                            I've developed hundreds of programs that print to a Zebra printer in COBOL.
                            Try programming using the ELP printer language directly to the printer
                            instead of using the print spooler program. I can send you a sample output
                            that prints a bin label that I redirected to file.All fields and field types
                            are human readable.They five you a program to design your label and than
                            save the work to a human readable file that you than can program in your
                            program. This file from the program saves in ELP language.

                            Steve
                            "Homer J Simpson" <nobody@nowhere .comwrote in message
                            news:bFP0g.1007 96$%H.3939@clgr ps13...
                            >
                            "ATJaguarX" <ATJaguarX@gmai l.comwrote in message
                            news:1145282011 .019361.80580@e 56g2000cwe.goog legroups.com...
                            >
                            >I have tried Zebra.com... they have nothing on there in terms of
                            >Crystal Reports and/or .NET.
                            >
                            At this point I would look for a copy of 'prn2file' and use it to see what
                            is actually going to the printer.
                            >
                            >
                            >

                            Comment

                            Working...