printing problem

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

    printing problem

    In my application I want to print a label (not a object , but a paperone).
    The problem is that the labels ar not the same size as a standard A4 format,
    they are
    smaller, about 152mm high.

    When i give the following command, the printer prints the text and then goes
    to the
    next page. The problem is that the labels are smaller then the A4 format
    that the printer
    is using, and I don't now who to set this (or what propety) to mek the
    printer go to the
    next page after 152mm instead off 298mm (A4).

    Printer.Print "hello world
    Printer.EndDoc

    Maybe someone can give me some advise.

    Thanks from Holland
    Martijn.


  • Raoul Watson

    #2
    Re: printing problem


    "Martijn" <info@NSdiscowi nkel.nl> wrote in message
    news:3f2b9393$0 $28886$edd6591c @news.versatel. net...[color=blue]
    > In my application I want to print a label (not a object , but a paperone).
    > The problem is that the labels ar not the same size as a standard A4[/color]
    format,[color=blue]
    > they are
    > smaller, about 152mm high.
    >
    > When i give the following command, the printer prints the text and then[/color]
    goes[color=blue]
    > to the
    > next page. The problem is that the labels are smaller then the A4 format
    > that the printer
    > is using, and I don't now who to set this (or what propety) to mek the
    > printer go to the
    > next page after 152mm instead off 298mm (A4).
    >
    > Printer.Print "hello world
    > Printer.EndDoc
    >
    > Maybe someone can give me some advise.
    >
    > Thanks from Holland
    > Martijn.
    >[/color]

    Have you explore advancing the paper manually (i.e. by issuing print
    statements). The .EndDoc will create problem because that issues the chr) or
    Form Feed. My suggestion is to manually issue rint statements to include one
    that will "page oiverflow" to the next page and continue fro there. When the
    job is completed (all labels printed), at that timme issue the EndDoc.

    Beste wensen van New York.


    Comment

    • J French

      #3
      Re: printing problem

      On Sat, 02 Aug 2003 12:29:50 GMT, "Raoul Watson"
      <WatsonR@Intell igenCIA.com> wrote:
      <snip>[color=blue]
      >
      >Have you explore advancing the paper manually (i.e. by issuing print
      >statements). The .EndDoc will create problem because that issues the chr) or
      >Form Feed. My suggestion is to manually issue rint statements to include one
      >that will "page oiverflow" to the next page and continue fro there. When the
      >job is completed (all labels printed), at that timme issue the EndDoc.
      >[/color]

      I would not fancy using that through the VB Printer Object

      It knows all about the height of a page

      That used to be a good way of printing to dot matrix style printers
      under DOS

      Comment

      • Raoul Watson

        #4
        Re: printing problem


        "J French" <erewhon@nowher e.com> wrote in message
        news:3f2bb117.2 3817960@news.bt click.com...[color=blue]
        > On Sat, 02 Aug 2003 12:29:50 GMT, "Raoul Watson"
        > <WatsonR@Intell igenCIA.com> wrote:
        > <snip>[/color]
        [color=blue]
        > It knows all about the height of a page
        >[/color]

        That info is whatever is returned by the printer properties. You can fool
        the system by saying you have a 50 feet long paper. It does not care.


        Comment

        • J French

          #5
          Re: printing problem

          On Sat, 02 Aug 2003 13:30:34 GMT, "Raoul Watson"
          <WatsonR@Intell igenCIA.com> wrote:
          [color=blue]
          >
          >"J French" <erewhon@nowher e.com> wrote in message
          >news:3f2bb117. 23817960@news.b tclick.com...[color=green]
          >> On Sat, 02 Aug 2003 12:29:50 GMT, "Raoul Watson"
          >> <WatsonR@Intell igenCIA.com> wrote:
          >> <snip>[/color]
          >[color=green]
          >> It knows all about the height of a page
          >>[/color]
          >
          >That info is whatever is returned by the printer properties. You can fool
          >the system by saying you have a 50 feet long paper. It does not care.[/color]

          Could that not be a bit nasty ?

          The Printer Object creates a memory image of the page ...

          Comment

          • J French

            #6
            Re: printing problem

            BTW, as I pointed out to the OP in anothe VB NG
            - all he needs to do is to jigger the Height property of the Printer
            Object to set the page height to whatever he wants

            On Sun, 3 Aug 2003 08:22:28 +0000 (UTC), erewhon@nowhere .com (J
            French) wrote:
            [color=blue]
            >On Sat, 02 Aug 2003 13:30:34 GMT, "Raoul Watson"
            ><WatsonR@Intel ligenCIA.com> wrote:
            >[color=green]
            >>
            >>"J French" <erewhon@nowher e.com> wrote in message
            >>news:3f2bb117 .23817960@news. btclick.com...[color=darkred]
            >>> On Sat, 02 Aug 2003 12:29:50 GMT, "Raoul Watson"
            >>> <WatsonR@Intell igenCIA.com> wrote:
            >>> <snip>[/color]
            >>[color=darkred]
            >>> It knows all about the height of a page
            >>>[/color]
            >>
            >>That info is whatever is returned by the printer properties. You can fool
            >>the system by saying you have a 50 feet long paper. It does not care.[/color]
            >
            >Could that not be a bit nasty ?
            >
            >The Printer Object creates a memory image of the page ...[/color]

            Comment

            Working...