Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Print DOS Mode From Vb


whenever print is given from vb, in DOS / Text mode, winoldap is
added in the task manager. how to cancel / remove this or how to
prevent this?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Print From VB In DOS Mode
dear friends,

How can I print dosmode out put to dot matrix printer in VB6?
it is possible to print like FoxPro like command @ <row>, <col> .....

Regards
Rajeev

Dos Mode Print...?
Hello...

In my application I'm using DataReport to print out recordsets.
Of course the printout comes with TTF font print on.

If I want to print that recordset on dot matrix printer in "DOS mode print"...
what is the most easy way to do that... ?

Thanks,
Erik

Help In Dos Mode Print
Hi guys,

I devloped one application with written report part as text file. I would like to give this report in dos mode when i give it from windows. How can i do?
pls. give some sample code in vb.

regards,
yeskay

R: Print DOS Mode From Vb
you can write commands in a batch file (app.path + "MyBatch.Bat")

after use :

shell(app.path + "MyBatch.Bat"), vNormalFocus

I think

Bye

-----Messaggio originale-----

Print In DOS Mode
Hi



Iam preparing a report on VB6. I wish to have my report printed in the DOS mode using a DotMatrix printer.

How will I do it, since Iam not working on the command prompt. Is there any way to solve this issue? Are there any general rules irrespective of the tools used to undertake such printing ?

Any help/suggestion in this regard would be highly appreciated.



Cheers ..... HAPPYARIMAAN

Print In DOS Mode
Hi



Iam preparing a report on VB6. I wish to have my report printed in the DOS mode using a DotMatrix printer.

How will I do it, since Iam not working on the command prompt. Is there any way to solve this issue? Are there any general rules irrespective of the tools used to undertake such printing ?

Any help/suggestion in this regard would be highly appreciated.

Regards

ARIJIT

Print In Draft Mode
I want to print from datareport in draft mode, as we can print VB code in draft mode. I want achieve faster printing like DOS through VB Application. Please let me know if someone known any method.

Print In Condenced Mode
dot matrix printer is avilable but in the laser printer
i want to control the output 180col in condenced mode
how?

Print Raw Text In Landscape Mode
Hi

I have a small business client who has old machines so I am developing an app in old vb6. When he is up and runnning I will upgrade all my code to .net.

I have a report that is printed to a text box. (See screenshot). I want to print this as it appears to the printer, but in landscape mode.

I have tried printing raw text as in the attached file, but I cannot get the text to be printed in landscape by any means.

Do you know of any way I can do this? I would really appreciate your help. I am going to give the program out for evaluation tommorrow and it would be great if the printing function works by then.

Thanks in advance!
Mike

DOS Mode Print In Custom Fonts
hi frnds ,
can u help me how print in custome fonts like Malayalam,Tamil the doc in Dos mode (Text Mode) in Dot Matrix Printer. Source help in VB6 . pls help me

How To Print A Form In Landscape Mode
Hi,
i am trying to print a form to the printer in landscape mode, but it keeps coming out in Portrait.
Here is the code i am using:

Code:
Dim BeginPage, EndPage, NumCopies, Orientation, i
' Set Cancel to True.
CommonDialog1.CancelError = True
On Error GoTo ErrHandler
' Display the Print dialog box.
CommonDialog1.ShowPrinter
' Get user-selected values from the dialog box.
BeginPage = CommonDialog1.FromPage
EndPage = CommonDialog1.ToPage
NumCopies = CommonDialog1.Copies
CommonDialog1.Orientation = vbPRORLandscape
Orientation = CommonDialog1.Orientation
Command1.Visible = False
Command2.Visible = False
For i = 1 To NumCopies
' Put code here to send data to your printer.
Details.PrintForm
Next
Command1.Visible = True
Command2.Visible = True
Exit Sub
ErrHandler:
' User pressed Cancel button.
Exit Sub

Any ideas what i am doing wrong?

How To Print A Form In Landscape Mode
Hi,
i am trying to print a form to the printer in landscape mode, but it keeps coming out in Portrait.
Here is the code i am using:

Code:

Dim BeginPage, EndPage, NumCopies, Orientation, i
' Set Cancel to True.
CommonDialog1.CancelError = True
On Error GoTo ErrHandler
' Display the Print dialog box.
CommonDialog1.ShowPrinter
' Get user-selected values from the dialog box.
BeginPage = CommonDialog1.FromPage
EndPage = CommonDialog1.ToPage
NumCopies = CommonDialog1.Copies
CommonDialog1.Orientation = vbPRORLandscape
Orientation = CommonDialog1.Orientation
Command1.Visible = False
Command2.Visible = False
For i = 1 To NumCopies
' Put code here to send data to your printer.
Details.PrintForm
Next
Command1.Visible = True
Command2.Visible = True
Exit Sub
ErrHandler:
' User pressed Cancel button.
Exit Sub


Any ideas what i am doing wrong?

Regards

Terry Myatt

How To Print A Form In Landscape Mode?
Hi,
i am trying to print a form to the printer in landscape mode, but it keeps coming out in Portrait.
Here is the code i am using:
Code:Dim BeginPage, EndPage, NumCopies, Orientation, i
   ' Set Cancel to True.
   CommonDialog1.CancelError = True
   On Error GoTo ErrHandler
   ' Display the Print dialog box.
   CommonDialog1.ShowPrinter
   ' Get user-selected values from the dialog box.
   BeginPage = CommonDialog1.FromPage
   EndPage = CommonDialog1.ToPage
   NumCopies = CommonDialog1.Copies
   CommonDialog1.Orientation = vbPRORLandscape
   Orientation = CommonDialog1.Orientation
   Command1.Visible = False
   Command2.Visible = False
   For i = 1 To NumCopies
   ' Put code here to send data to your printer.
   Details.PrintForm
   Next
   Command1.Visible = True
   Command2.Visible = True
   Exit Sub
ErrHandler:
   ' User pressed Cancel button.
   Exit Sub
Any ideas what i am doing wrong?

How To Print In Dos Mode With Crystal Report
Hi Friends,

I am using vb6,Sql server 7,crystal report 7
on windows 98 machine. I am using dot matrix
printer for printing my reports. I have created
many reports in table format.It is taking more time
to print the report in dot matrix.


People say that applications created in Windows environment
will take more time to print then applications created in
Dos environment. Is that true.Printer Representative say
that in windows ,controls such as determining font,font size
is handled by windows itself,One cannot set these setting
through printer settings.

Is it possible to print the reports created in Crystal report
to print in Dos mode. How to do it.

Also suggest me which font(i am using new times roman)
to use so that printing will be carried at high speed.

Please help me.


cthirus










Edited by - cthirus on 7/19/2002 7:03:13 PM

How To Print In Dos Mode And How To Change Font Size ?
I wish to dos mode printing to print bills, (Creating Text file to print). How can i change font size ?

I saw following codes in sample for printing dos mode. Please explain usage of following codes

Print #1, Chr(27) 'purpose ?
Print #1, Chr(12) 'purpose ?
Print #1, particulars; Spc(17 - Len(CStr(particulars))); ' purpose ?
Print #1, vbCr ?

How can i set paper size ?


Senthil kumar.A

Urgent: Print Datareport In Landscape Mode
How I can Print Datareport in Landscape Mode ? My Report is 11inch wide and it can't be reduced. I can use A4 or Letter size paper. plz give me solution its URGENT.

Html Report To Print (dos Mode) My Dot Matrix Printer
i developed vb project desine report for html format and views currently files to print my dot matrix printer in windows mode fonts i want to print dos mode printout pls explen with exampls

Detect Print Of Access Report From Preview Mode?
Is there a way to detect when a user has printed a report from Access 2002 when the report is in Preview mode? I need to do this from within Access. Thanks for any assistance.

How Do I Print A PDF File In Duplex Mode To A Specific Tray
I am trying to write an Active X DLL which will contain a function for printing pre-existing PDF files. This in itself is not all that difficult, and I have seen many methods posted on this site and on the internet to solve this. Now the hard part: the problem is that I need to be able to access the printer properties while printing the PDF file so that I can force it to duplex and send it to specific trays/bins for that printer as determined by my program. I have found code for printing PDF's, and I have found code for accessing printer properties on the fly, but I have not found any code that will allow me to do both together. I have struggled with this for a couple of days now and I am open to any suggestions, whether they be code snippets, 3rd party programs, etc. I need to get this figured out and any help would be greatly appreciated.

Thanks,
J

*Resolved* : ADO - Step Mode Returns Records, Run Mode Doesn't
Hi,

I have been working on ADO for the best part of 2 days now. I am using it to pass data to a crystal report which will display a purchase order. I am using Crystal Reports 8.5, Access 2000, VB6 Sp5 on a NT 2000 O/S. I am relatively new to Crystal Reports and ADO but I am alright at DAO and RDO.

The problem I am having is, if I view code running on a line by line basis the ADO returns records but if I run in a normal environment with the same 'EVERYTHING' it returns 0 records. I have given the code sample below. To explain I read other files where they store information on purchase orders. Depending which one the user wants I empty POR_PRINT_ORDER and populate the single record with that order using the information gathered from the other files.

Code:     
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Data.SageFile
rsAdo.Open "SELECT * FROM POR_PRINT_ORDER ;", conn, adOpenKeyset, adLockOptimistic, adCmdText
                        
If rsAdo.RecordCount > 0 Then


I am hoping that there would be at least a property within ADO that I could check to see if the query is still processing by the time I check the recordcount property. Its deluding me now and I would like any suggestions on how to resolve this!

Thanks in advance.

Baz.




Edited by - BAZ on 2/10/2004 5:38:22 AM

How To Call Dos-mode Programs Into Window Mode? Or Put Them In Form? Anyone Pls. Help
How to call dos-mode programs into window mode? or put them in form? anyone pls. help

Driver DLL's - User Mode Or Kernel Mode - Resolved
Anyone out there know how to determine if a specific driver DLL is either user or kernel mode?

Is there an API to determine this?

Thanks,

Jim

Wierd Problem ... Difference Between Debug Mode And Run Mode
I have wrote a program , one of its lines is:
" FileSize = inet1.getheader("content-length") "

When i simply run the program , it tells me that there is a type mismatch , and after i choose the debug option , i see that FileSize got no value.

Then i deceided to put a breakpoint on that particular line. and when i run the prog that way , it works like a charm.

So i ask myself , what might be the problem ?
why is there a difference withwithout the breakpoint ?

hope you can help me ,
yoni.

Differences Debugging Mode/compiled Mode
Hi,
I have got a very strange problem. My program prints using the printer object a picturebox that previously has been filled with lines and text. When I run the program in debugging mode it works properly, but when I try to print with the compiled file (.exe) it prints the mirror image of the object. what´s happening?
Thanks

Runtime Mode Or Desing Mode, How To Detect
How to detect whether i am running the program in runtime or design mode?

Getting Out Of AddNew Mode And Back To View Mode
Hi, all, this is really stupid but I need help:

If a user has clicked on Add commandbutton and suddenly wants to cancel the entry before update, how can I code the Cancel commandbutton?

GoodGuy
Experience is a bad teacher for its exams precede its lessons.

Edited by - GoodGuy on 9/14/2005 7:29:24 AM

How Do I Know If I'm In Debug Mode Or Execute Mode?
Hi,

I want to send details into a log file only when I'm in debug mode, not when running the EXE.

How?

Thanks in advance!

Dot Matrix Printer - How To Get 'Emulation Mode'/'Printer Device Mode'
I'm making a 'DMP TextMode Printing Software'. This app has a WYSIWYG rtf editor and can print the rtf file to a DMP printer keeping the formatting (those are supported by the printer) in 'pure' TextMode (or DOS Mode Printing).

This app doesn't uses VB printer object. It can directly print to the spooler or can directly print to LPT port. Currently it supports Epson, HP, IBM and compatible printers.

Currently user selects the type of Printer Emulation he wants to use and the app sends data in that PCL (Printer Control Language) format.

I want to detect it autometically. But facing some problems. For example :My printer is an old TVSE MSP-55, which uses CITIZEN bios and supports Epson, IBM and CITIZEN-Custom modes. This modes can be selected by DIP switches or by PCL. I've found no way to detect current emulation mode, from Windows.Most DMP printers are not highly driver dependent. That means, you can use most Epson-compatible drivers with other Epson-compatible printers without much difficulty. Most of them will respect Epson PCL1. (And similar for other-mode printers.) And there is Windows Generic printers. So, If I want to know which Emulations current printer supports, detecting driver is not a very good idea.
Does anyone know,1. How to detect if the printer is a DMP or not ?2. If the printer is a DMP then how to detect which PCL/emulation it supports ?3. How to detect current emulation mode ?Edit: If possible then directly from the printer hardware. Not from the driver.

I'll be really grateful for any kind of help.

Edit: Thanks TeraBlight. Forgot about that IE bullet bug.

PRB: Query Runs In Step-by-step Mode, But Doesn't Run In Run Mode
Hello!
Win98 + VB5 SP3
I have simple query like "SELECT Name FROM Table WHERE Time &gt; #2000/04/09 15:20:22#". When I run the program in step-by-step mode (F8), the query returns correct result, but when i run it in normal mode, the query returns empty recordset. I open the recordset through OpenRecordset function, and I'm working with DAO, so this isn't ODBC asynchronous query and I have no idea why this happens. The query is 100% correct, because it runs correct in Access and step-by-step mode, so I think, the problem is somewhere in code.
Any ideas?
Thank you in advance,


Jack.

Problem With Print, Page Setup, And Print Preview In A Text Editor...
Yes, I have another question.

When I use these exact same functions (with WebBrowser.ExecWB in place of txtScrapbook.Text) in my web browser, it works perfectly. But when I use them in reference to a text box, it doesn't.

Can you tell me where the problem lies, or give me an alternative method? I have a common dialog box already for other functions, so feel free to make use of it if you need to. Thanks.

Code:Private Sub PageSetup_Click()
txtScrapbook.Text OLECMDID_PAGESETUP, OLECMDEXECOPT_DODEFAULT
'opens page setup dialog
End Sub

Private Sub Print_Click()
txtScrapbook.Text OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER
'opens common dialog box prompting user to print current web page/parts of current web page
End Sub

Private Sub PrintPreview_Click()
txtScrapbook.Text OLECMDID_PRINTPREVIEW, OLECMDEXECOPT_DODEFAULT
'opens print preview dialog
End Sub

CRYSTAL REPORTS 9 DOES NOT PRINT THE SECOND TIME I CLICK THE PRINT BUTTON ON MY VB6 FORM
the first time i click the print button on my vb6 form the report appears on the screen but on subsequent clicks it does not

the code i have written is follows

private sub commandprint_click
  
     dim CRAPP AS CRAXDRT.APPLICATION
     dim REPORT AS REPORT


     APPPATH = "C:WFBIN"
     REPORTPATH = APPPATH + "" +"INVOICE.RPT"

     SET CRAPP = NEW ARAXDRT.APPLICATION
     SET REPORT = CRAPP.OPENREPORT(REPORTPATH)

     frmmain.crviewer91.reportsource = REPORT
     frmmain.crviewer91.viewreport

    SET CRAPP = NOTHING
    SET REPORT = NOTHING

end sub


is there anyting missing ? Kindly help at the earliest

How To Print Images That Fit To The Page Size Specified In Print Common Dialog?
i need some help in printing the whole image tat fit onto the paper size i specified in Print Common Dialog. I hav a PictureBox array & each PictureBox contains a smaller Picturebox inside. For example : Picture1(index) has a smaller Picture2(index) inside. There are vertical & horizontal scrollbars next to each Picture1(index).

i already hav the basic Print Common Dialog code below. Here's the problem -> I can print out the pictures displayed inside Picture2(index) but the printout will turn out truncated or just part of the whole picture when im printing to a 4R photo size for example and the image displayed in Picture2(index) is larger then the bounding Picture1(index) & i need to use the scrollbars to scroll and view the other portions of the image.

So how to modify the code below to print out the whole image tat fit nicely to the paper size i specified. Thanxs.


'---------------------------------------------------------------------
'CODE
'---------------------------------------------------------------------

CommonDialog1.CancelError = True
On Error Resume Next

CommonDialog1.Action = 5 ' Start the Print Common Dialog

If (Err.Number = cdlCancel) Then Exit Sub
'when Cancel is pressed, exit subroutine

'Code to print the array here

For Pics = Picture2.LBound To Picture2.UBound
If Picture2(Pics).Picture > 0 Then ' If the PictureBox is not empty
Printer.PaintPicture Picture2(Pics).Picture, 0, 0
Printer.EndDoc
End If
Next

'---------------------------------------------------------------------

Automatically Print Data Report Without Clicking Print Icon
is it possible to print records in the data report without loading it clicking on the print icon??? i want the printer to print my data report once i click a message box...but it shouldnt show any datareport...

Print Range Of Pages, Find Length Of Document To Print
Hi, I am trying to accomplish two things.
1) I would like to find out how many pages would print out, IF I were to print. ie. Warn the user: "You have asked to print out 500 sheets at $4.50 a sheet."
2) I would like to choose a range of pages to print out, without that range set as the "default" the next time the print function is called. So, my current printing method below is not what I would like. (Unless there is a way to restore defaults?) It displays the normal print dialog, and remembers the last print range entered by the user.

I am displaying web pages on a form within the webbrowser control. Some are very long, so these features are important to me. How it is done is less important. Any advice is appreciated. Thanks!

Here is my very simple example code:

Code:
Option Explicit

'Load a web page
Private Sub Command1_Click()
WebBrowser1.Navigate ("http://www.vbworld.com/")
End Sub


'Brings up the print dialog box on button click.
Private Sub Command3_Click()
Dim eQuery As OLECMDF
eQuery = WebBrowser1.QueryStatusWB(OLECMDID_PRINT)
If Err.Number = 0 Then
If eQuery And OLECMDF_ENABLED Then
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, "", ""
Else
End If
End If
End Sub

Private Sub cmdNavigate_Click()
Dim txtNavigate As String
WebBrowser1.Navigate txtNavigate
End Sub

How To Print Urdu Unicode Characters Using Printer.print Method ...??
Ive written a code for accepting input in text boxes in urd language and store it in access database and similarly i ca retrieve it back from the database and show it in the text boxe from the database in urdu language in vb6.0. But i cannot prin the same urdu unicode characters from the text boxes using th Printer.Print method, and if i do so i got ??????? (questio marks) printed instead of the urdu unicode characters. I eve tried the rich text boxe's selPrint method also but that als print the same ?????.
i wan to print the contents of the text boxes i.e unicod characters in urdu language.
Can anyone tell me how to do this as soon as possible ........??
Can anyone share with me the code for doing the above printing o unicode characters?

Waitin for the reply as earliest .......!!!

Print Error 486: Can&#8217;t Print Image To This Type Of Printer
Hey all
Has anyone seen this error when trying to initiate printform? I am trying to printform in a loop and it gives me this error. The printall subroutine has my printform code. It works perfectly the first time but when it tries to move to the previous record and then print that one I get this error. I searched for information but only found one suggestion where someone suggested putting a time delay in there. I tried that and it still would not print the second time. Help please.......
Thanks so much
Kim

Here is my code:

Code: Private Sub cmdPrintAllForms_Click()
    On Error GoTo SubErr
    Dim i As Integer
    Dim rs As ADODB.Recordset
    
    Set oConn = New ADODB.Connection
    oConn.Open frmSplash.sConn
  
    strSQL = "select * from tblAircraftWO where work_order_no = " & txtWorkOrderNo.Text
    
    Set rs = New ADODB.Recordset
    rs.Open strSQL, oConn, adOpenKeyset, adLockOptimistic
    
    i = rs.RecordCount
    
    rs.AbsolutePosition = txtCardNo.Text
     
    Do While Not rs.BOF
        PrintAll
        
        rs.MovePrevious
        If Not rs.BOF Then
        RetrieveRecords
        End if
    Loop
        
    If rs.BOF Then
        rs.MoveFirst
        MsgBox "You are at the beginning."
    End If
   
SubExit:
    Exit Sub
    
SubErr:
    MsgBox Err.Number & ": " & Err.Description
    Resume SubExit
End Sub

How To Print Urdu Unicode Characters Using Printer.print Method ...??
Ive written a code for accepting input in text boxes in urdu language and store it in access database and similarly i can retrieve it back from the database and show it in the text boxes from the database in urdu language in vb6.0. But i cannot print the same urdu unicode characters from the text boxes using the Printer.Print method, and if i do so i got ??????? (question marks) printed instead of the urdu unicode characters. I even tried the rich text boxe's selPrint method also but that also print the same ?????.
i wan to print the contents of the text boxes i.e unicode characters in urdu language.
Can anyone tell me how to do this as soon as possible ........??
Can anyone share with me the code for doing the above printing of unicode characters?

Waitin for the reply as earliest .......!!!

Print Picture Box (print A Form That Is Too Large For The Screen Or Page)
I got a picture box (Picture1), which contain several picture box'es, labels and
Flex Grid tables, -which I would like to print. Picture1 is quite high (higher than the screen). I found some code that i modified, but the printing only get the labels proper. The Flex Grids and picture box'es only show the border, and not the contents.

Code:Private Const WM_PAINT = &HF
Private Const WM_PRINT = &H317
Private Const PRF_CLIENT = &H4& ' Draw the window's client area.
Private Const PRF_CHILDREN = &H10& ' Draw all visible child windows.
Private Const PRF_OWNED = &H20& ' Draw all owned windows.

Private Declare Function SendMessage Lib "user32" Alias _
   "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _
   ByVal wParam As Long, ByVal lParam As Long) As Long


Private Sub Print_Click()
Dim rv As Long
   Me.ScaleMode = vbTwips ' default
   With Picture2
      .Top = Picture1.Top
      .Left = Picture1.Left
      .Width = Picture1.Width
      .Height = Picture1.Height
   End With
   Me.Visible = True
   DoEvents
   Picture1.SetFocus
   Picture2.AutoRedraw = True
   rv = SendMessage(Picture1.hwnd, WM_PAINT, Picture2.hDC, 0)
   rv = SendMessage(Picture1.hwnd, WM_PRINT, Picture2.hDC, _
   PRF_CHILDREN + PRF_CLIENT + PRF_OWNED)
   Picture2.Picture = Picture2.Image
   Picture2.AutoRedraw = False

   Printer.Print ""
   Printer.PaintPicture Picture2.Picture, 0, 0
   Printer.EndDoc
End Sub



Edited by - Zigar on 11/27/2003 3:31:21 AM

Activate The Print Dialox Box When I Print A Data Report
Hello!

I use Visual Basic 6.0.

I have made differents reports with the Data Report component. My problem is when I try to print one of them. I use the next statement:

LlEsmArtReg.PrintReport True

The 'True' is becaruse I want show the Print Dialog Box.

My problem is that the Print Dialog Box not appear at the front, instead of that appears on the back. So the final user have to make a 'Alt+Tab' to see this Dialog Box.

Someone can tell me how to do for this Dialog Box appear at the front, automatically?

Thanks,
Eva Janakieff

I Awna Ask A Bout A Print Code That Can I Print Just What's In The Textbox
print just textbox code please guys
milen regard's

Adding Print Button Or Gettin Vb To Print My Application
Hi does ne1 know how to add a print Button to my application its a canculator i jus want it to print the page

Print Preview - How To Get The Real Print Size In Picture Box???
im previewing the print area in a picture box, but picture box
is little , How can I fit the page I want to print into the visible picture in picture box?
Im using a .bmp file as pic.

JCI

Vbform.print Problem For Msflexgrid Print On OS Win2000/XP
Hello,

I am trying to get my small report print on A4 size paper with vbform.print method (form contains VB components like textboxes/image/labels and MSFlexGrid) and is working properly using VB 6.0 (SP5) on OS win98, but when I try to print same with vbform.print method on OS win2000 OR winXP then it print report properly for all other components on form except the MSFlexGrid component.

All it prints is total black area for MSFlexGrid component. Any one have solution/reason to deal with it?

Thanks...

Print Problems Specifically Enddoc And Print Command
Hello, and welcome to my problem!

My code is below. My problem is this, it wont print, at all, sometimes when I shut the program down it will but not as it is here, or it sends an undefined error back when I hit the command button that holds this.

I just followed a tutorial I found on the net but not specific enough. please help.

Is there supposed to be a print icon with the other objects in the menu that holds the check boxes, list, comboboxes etc that I click and paste onto my form? If so were can I find it, if not who knows.


Private Sub Command1_Click()


Print

Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print Spc(10),
Printer.Print Spc(10), "Selling Price", selltotal.Text, sellall.Text
Printer.Print Spc(10), "Item Cost", costtotal.Text, costall.Text
Printer.Print Spc(10), "Shipping", shiptotal.Text, shipall.Text
Printer.Print Spc(10), "Handling", handtotal.Text, handall.Text
Printer.Print Spc(10), "Other", othertotal.Text, otherall.Text
Printer.Print Spc(10),
Printer.Print Spc(10),
Printer.Print Spc(10),
Printer.Print Spc(10),
Printer.Print Spc(10), "Profit", profittotal.Text, profitall.Text
Printer.Print Spc(10),
Printer.Print Spc(10),
Printer.Print Spc(10),
Printer.NewPage
Printer.EndDoc

thank you ever so much

you should have seen what I could do on my PET

Print Command In Vb6 To Print A Range In An Excel Worksheetsheet
Thank you for you assistance in populating an excel sheet from a vb6 user form textbox.

I am now struggling to print the excel sheet from vb6 command button.

I can print the worksheet but it is blank as I cannot work out how to set the print range.

Assistance would be appreciated as, after hours of trying, I am about ready to scream!!

Monitoring Print Port And Duplicating Print Jobs
Hello Everyone,

I need some help please, Im working on a domain server, as you can see the image attached, this is my network layout... Now from there, I have it where my station 1-4 have there own printers and I want it that anything they print to be duplicated and to be printed on the laser printer.. basiclly all orders being printed from front counter, a second copy to be printed in the back office... I can't find any software that will do this, but someone told me what i can do is create a custom program to monitor the print ports, and any print thats send from the stations to send it to the network printer as a duplicate copy... can any1 help me with this.. I would really appricate it.

Thank You
DNG

Merge Word Files And Print To PDF Print
Looking for code would allow me to merge multible word files into a single file and print to a single pdf file.

Print Column Header On Each Print Out Page
I am trying to put the header of each column on each print out page.
Right now I have it only appearing on the first page of my printouts.

How do you do that in Excel 2003?

Must Close Program To Print Using Printer.print
Hi,

Using VB 5.0 and find that I must close the VB program before the printer will actually print. I'm using printer.print. Do I need some control character at the end? Any ideas?


Thanks,
met12

Copyright © 2005-08 www.BigResource.com, All rights reserved