TIA
Mitja
>> Am I missed something?
Jepp ;) You first need to create your special paper format. This is done
at the printserver-level, which is usually the PC at which that printer is
physically connected to.
In Windows go to ControlPanel, start Printer, and then in the file menu you
should find something called "Server Properties" The first page of the next
dialog is called "FORMS" and in the middle is a checkbox to create a new
Form definition. Enter a name, and the correct paper size, save it. After
that you can now use that new papersize in all printers which are connected
to that print-server.
Then on your PC, select that printer and set the papersize to the newly
created one.
Then in VFP, first select that printer from the commandwindow, if it's not
your defaultprinter with:
SET PRINTER TO NAME (GETPRINTER())
and then create your report. As you can see, the papersize is now fitting to
your definition.
--
wOOdy
Visual FoxPro Evangelist
Microsoft "Most Valuable Professional" 1996 to 2009
"*��)
�.���.�*��) �.�*�)
(�.��. (�.�` *
..�`.Visual FoxPro: It's magic !
(�.�``��*
wOOdy wrote everything you have to know, just a reminder :
WHENEVER you change this report, set the printer to your special one as
wOOdy has described.
As far as I remember, the format information is always saved, even if "save
printer env." is not marked.
So you get strange effects when you forget it.
You can use a "copy" of the printer in your development with save to file if
you have no physical access to it.
Regards
tom
"Mitja Mo�ina" <mitja_...@t-2.net> schrieb im Newsbeitrag
news:uDrVgtF...@TK2MSFTNGP05.phx.gbl...
In my "Print Server Properties" I found 187 forms and among them also
exactly the form I want. His name is "A5 Rotated". So I already have
requested form and I suppose that it will be at the customer's PC too.
I had defined my default printer to Epson FX-80 ( yes, very old printer )
and in my VFP "Page Setup" was offered just few ( 6 ) of them : A4, A5,
B5(JIS), Fontfold 8,5 x 12 in, Legal, Letter. Then I changed ( wOOdy let me
think about this ) default printer to Fax and "magicaly" there appeared all
forms in VFP's "Page Setup" and I could choose my desired form.
In my PC work fine. Customer has HP printer and he get wrong report! I have
Page footer at the end of rotated A5 form ( middle of A4 form ) but customer
got Page footer at the end of A4 form ! ! ! This is Expr from this FRX :
DRIVER=winspool
DEVICE=Fax
OUTPUT=SHRFAX:
ORIENTATION=0
PAPERSIZE=78
DEFAULTSOURCE=15
PRINTQUALITY=120
YRESOLUTION=144
I tried to save with and without "Save printer environment" but with no
result. He constantly got to much space between Group footer and Page
footer. Any suggestions?
I have a question : how could I add "A5 Rotated" form to Epson FX-80 printer
or any other printer? I look everywhere but I don't see where can I do this.
Thank you again.
Mitja
>> Customer has HP printer and he get wrong report!
Again: Have you setup the printer at the customers site to actually use that
A5R paper? That setting is in the defaults setting for the printer (not in
FoxPro!). As long as the printer is on A4, you will always get a different
result.
Mitja
"J�rgen Wondzinski" <jue...@wondzinski.de> wrote in message
news:eJWyS$daKHA...@TK2MSFTNGP05.phx.gbl...
> Hi Mitja,
>
>>> Customer has HP printer and he get wrong report!
>
> Again: Have you setup the printer at the customers site to actually use
> that A5R paper? That setting is in the defaults setting for the printer
> (not in FoxPro!). As long as the printer is on A4, you will always get a
> different result.
>
>
> --
>
> wOOdy
> Visual FoxPro Evangelist
> Microsoft "Most Valuable Professional" 1996 to 2009
>
>
>
> "*��)
> �.���.�*��) �.�*�)
> (�.��. (�.�` *
> ..�`.Visual FoxPro: It's magic !
> (�.�``��*
>
I'm having a similar problem, so if you don't mind, I'm going to jump
in here.
I have a user looking to print continuous form labels one at a time on
a dot matrix printer without the page feed wasting labels. The
printer is an Epson LX300+ and the operating system is XP on both my
machine and the users machine.
Since I don't have a dot matrix printer, I installed an Epson LX300+
to my printers and pointed it to print to file.
I went to the server properties and added a new form called "VDP
Labels", set the correct dimensions, and saved the form. It now shows
up in the server properties list.
I then made the Epson my default printer, went to "Printing
Preferences", went to the "Paper/Quality" page and clicked "Advanced".
This opens up a new page with a setting for "Page Size" and a drop
down list next to it, but there is no choice to use "VDP Labels". How
do I set my printer to use the new form size?
-- Bill
> Then we add "A5 Rotated" form to HP printer with width 210 and height
> 148mm. This printer allowed to customize form other printers do not
> allow customizing. Then we delete the Fax. In this case Preview also
> show on A4 format! So conclusion is that Fax must be defined but
> still output to printer is on A4 format. Am I first developer with
> this problem?
No, you're not the first one :)
Just open the "Printers and faxes" window from Control Panel: it's important
that you open this particular window because what yoy are looking for is in
its menu. Go into the "File" menu of this "Printers and faxes" window:
you'll find "Server properties" (or something like that, I'm using an
italian Windows XP and just translating from italian to english). There you
can add or modify forms and those forms will be available to all the
printers installed.
--
Villi Bernaroli, Italy
VFP, SOAP, MS SQLserver, MySQL, Oracle