Programmatically send fax with minolta bizhub - c#

The office recently bought a Minolta printer that can also fax. I need to send faxes from an input from sharepoint. The problem doesnt rely in the connection between the fax sending software and sharepoint but rather in trying to send the right data to the fax.
Minolta created drivers for sending faxes, here is a screenshot of this.
It is accessed by trying to print and then selecting the minolta bizhub as a fax.
I tried to use FAXCOMLib as connect to it has if it was a fax server but i got en error while trying to connect. I called the support service of minolta and they have no idea how to achieve this.

FAXCOMLib is usable as a Fax driver on Windows computers without an external device. The Fax logic is built into the software. All you need in the computer is a RJ11 port, a telephone port.
I'd say if you want to programmatically send a fax, just use FaxComLib and don't worry about the external fax-capable printer. And using FaxComLib from .NET/C# is prety straightforward.
There may also be a way to programmatically invoke a printer driver; in fact I know you can do this in WCF. On the other hand, that wouldn't be through FaxComLib; it would likely be through some other interface, or at the last resort, it would be through the UI Automation classes in Windows.

Related

Bluetooth printing in C# windows mobile

I have this system ive been working on where in the user has to print in a bluetooth thermal printer after every transaction. Can someone give me a source reference or a sample code for this particular function? he bluetooth printer brand is just generic, most of the sources in the website all have brands particularly Zebra. But i wont be using that since it might be different. any help would be nice. Thanks!
Please see inTheHand (or 32feet.net) for a framework using Bluetooth.
You need to discover and connect to the BT printer and then use a socket stream to send print commands.
You may also use RegisterDevice with the BT mAC address and then use the provided serial COM port to communicate with the printer.
To be more detailed you need to describe your needs in more details and shorter english sentences.

Send message to mobile from PC c# aplication

I want to send a message to evry users who connect to the wireless. Actually, I want the user to receive a message on the device immediately after connecting to the wireless router. Never mind that the device in question, whether mobile or PC.
This means, when someone connects to my wireless router, I want that the user gets a message of welcome. I do not want to be the message SMS, and that I should not use the GSM network, but to appear as a AlertDialog or something.
I wonder if it is even possible to do, and it's not some kind of applications for Android, but if it is possible to do it without an application.
Doing a multiplatform message service is almost virtualy impossible,and it requires you having knowledge of a wide number of arguments.On windows there was net send available until windows xp,from xp on,you could try using msg command line,however this requires you having a program that interfaces itself with these programs to send your custom notifications.
As for android there are notifications but that requires the user having an app installed that listens to whenever he connects to the network,there are no other means of "sending" a message.Same story for iOs i suppose.
There can be an enormous number of configurations that a user could have that connects to your network,and having an interface that send a custom message for every platform would be a pretty crazy job.There can be Linux,Windows,Mac,not only but immagine all the versions those OS have,then there are all the mobile ones too,so i don't think a messaging or alert system is a viable way,as THERE ISN'T an universal way.
The best course of action is buying a router,or setting up yours,that whenever someone connects to your network and tries to navigate,they will be greeted with a custom page from your router,it is not hard to do,and there are a lot of routers that to that by nature.
Otherwise you could set up a custom gateway with nocat OR even have a login system maybe,so you can have a log of every user that connects to your network

sending sms through mobile connected with pc

I am trying to develop the application which, any mobile is connected with PC and needs to send SMS through the mobile one by one, software is used only to connect the mobile and type the message.
When the send button is clicked the message should send through mobile not through any modems.
I have tried to search everywhere, but I couldn't find anything.
Can anybody guide me on how to proceed?
Thanks in advance.
If you want to do it on your own without using a sms-library you can open the modem in handset through a serial port and send out hayes at-commands for sms-operation.
Before you program you can try it using a terminal program.
Example
; Send message to "0170 00000" (Ctrl+Z to finish and send the message)
AT+CMGS="017000000"
> This is a SMS Test!!^Z
+CMGS: 3 ; OK, message gone
Note: these at-commands are not supported on every handset. Maybe the handset needs additional configuration through extra at commands (set textmode, set sms-gateway, ...)
Several sms hayes related commands are described in http://www.cellular.co.za/at_etsi.htm .
Yes, absolutely you can send sms through your pc connected with your cell phones. "Nokia PC Suite" is the only software; after installing software in your computer, connect your Nokia handset by usb cable with computer and select pc suite option. After then launch Nokia PC Suite. Now there u go.
What you are trying to do is difficult. It is difficult not because the programming is difficult, but because there are restrictions (security!) from the carrier side and from the mobile manufacturer side.
To be able to send messages from a mobile device connected to a PC, the mobile device must provide access to the internal functions its OS uses to deliver those SMSs. They could be low level modem commands, or a high level API; but in any case it will depend on the device manufacturer SDK.
If you want to type more efficiently, then maybe a mobile device with support for a bluetooth keyboard is a good idea.
I guess that depends strongly on the used mobile phone. I don't think there's a generic solution for all manufacturers. And such feature is probably hardly documented.
However, I'm not sure, if this is worth the effort at all, because e.g. Nokia provides the software "Ovi Suite" (or older PC Suite), which already supports sending SMS via connected phone. I think there are similar programs from other manufacturers.
It is possible to send SMS from a computer via a connected phone, but the phone itself will be the modem (I assume you don't want to connect another device for SMS). You can see this question, this question and (possibly) GSMComm for more info

sms applcation via C# and sms gateway

I suppose to develop sms application(basically send\receive) using c# 4.0.In this i wish to use NOKIA 6630 phone as the GSM moderm.i have two problems here.
1)could any one tell me a better free sms gateway for this?
2)is nokia 6630 have gsm mordem?.
i m heavily appreciated with your answers.
Not sure what do you mean by free sms gateway here when you are using your phone.
6630 has a modem. So you can use it. If you can have PC suite (or Ovi suite) in your pc, you should visit these links:
http://www.emant.com/index.php?tid=681002
http://www.forum.nokia.com/info/sw.nokia.com/id/bd896b31-92ba-4624-aa9d-ebf732e7cc0d/Nokia_PC_Suite_Connectivity_API_1_1.html
If you do not want PC Suite and want to develop stand alone application, you need to send sms using AT command. You need to use the SerialPort class for this.
In order to use your phone as a GSM Modem connect to it as if you are connecting to a Serial Port. (There are drivers which adapt USB to Serial Port. Your phone drivers might do this).
Once you manage to connect to it you can send commands such as AT+CNMI (to receive) and AT+CMGS (to send).
You might want to connect via hyperterminal to try it out first before you program it.
A good tutorial is here.
You have one good choice to install one sms Gateway for eg. NowSMS gateway to send or receive messages. Its good one and all the related help for installation and configuration is given here http://www.nowsms.com/doc/installing-nowsms
But one problem you had while using this gateway for receiving messages you need to change your mobile phone as not supported this feature for nowsms gateway.

Sending Printer Commands via USB in C#

I have a ticket printer I am trying to send raw print commands to,
I am currently sending the commands by pinvoke to winspool.drv and calling WritePrinter. This is working for most of the commands I am sending, but I cannot get feedback from the printer this way (for example, the printer has a barcode reader on it, I can send them command read barcode but I cannot receive the data back as it is stopped by the windows spooler).
Is there a way to open a USB port and send a byte[] of commands in C#?
Many Thanks
Shaun
You can exchange data over USB in a similar manner as you read/write to a file. Here's an interesting article on that topic.
Using the windows printer driver has some advantages though. Are you sure you want to do this yourself?

Categories

Resources