|
by: Patrick Herb |
last post by:
Hello,
I'm trying to print the content of a RichTextBox from my VB 6 app.
What I want is that the CommonDialog shows up, the user selects a
printer and the content of the RichTextBox prints to the selected
printer. I'm not concerned about the text format.
What I tried is something like this
CommonDialog1.ShowPrinter
|
by: Meyer1228 |
last post by:
We're printing invoices using the printer function in VB6. If we print to
an IBM-compatible dot-matrix, we can use a font called "12 CPI HSD" which
works well, since we want to use 12-pitch. If we want to print to our HP
Laser, we need to know that it is a laser so we can change the font to
something comparable. Is there a way to determine what type of printer is
selected - i.e. Laser(or deskjet) or Dot Matrix?
|
by: Alejandra Parra |
last post by:
In my code, I print a dataSet
' get grid's PrintDocument object
Dim pd As System.Drawing.Printing.PrintDocument
pd = flexgrid.PrintParameters.PrintDocument()
' set up the page (landscape, 1.5" left margin)
With pd.DefaultPageSettings
..Landscape = False
..Margins.Left = 50
Dim a As New Printing.PaperSize("Carta", 850, 1100)
|
by: Alejandra Parra |
last post by:
In my code, I print a dataSet
' get grid's PrintDocument object
Dim pd As System.Drawing.Printing.PrintDocument
pd = flexgrid.PrintParameters.PrintDocument()
' set up the page (landscape, 1.5" left margin)
With pd.DefaultPageSettings
..Landscape = False
..Margins.Left = 50
Dim a As New Printing.PaperSize("Carta", 850, 1100)
|
by: dever |
last post by:
I checked my color printers's Printersettings.SupportsColor, which all
showed false. What is wrong that I could not use this property.
Also, what other way to detect if a printer is color printer.
TIA
|
|
by: Tor Inge Schulstad |
last post by:
Hi
I'm developing a POS software using an Epson TM-T88iii printer with a
cash drawer connected to the printer. The printer is connected via a usb
interface to the pc.
Can anyone tell me how I can open the cash drawer from my VB.NET
application? The printer driver requires me to use a soft font named
"control" in the printer, and print the letter "A", but if I'm right,
the .NET framework does not support using soft fonts...
|
by: Anson Ng |
last post by:
I found out that VB.Net supports only TrueType and
OpenType fonts, in other words, it doesn't load printer
fonts (device fonts) that are associated with a printer.
I'm writing an application that will print to a POS
printer and I would like to use its printer fonts for
barcode printing. Is there a way I could load those
printer/device fonts in my code?
--
Anson
|
by: Adam Right |
last post by:
Hi,
Anyone knows how to print with dot matrix printer ? I want to print text
with some formatting such as bold, underlined font, and landscape document
etc... How can i do this with C#? Thanks...
|
by: Geeshan |
last post by:
Hi All,
I'm a newbie to the POS system. so please mind if my questions are stupid.
I have an epson TM-U200 printer with USB connection and cash drawer connected to printer with RJ 11 cable.
I tried to create a service object for my printer and suceeds.(It shows on test app as a POS Printer)
this is my code for that.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|