Pcl for ce997A mailbox
We have a laserjet 600 m602 printer with a 5bin mailbox cc997A.
We want to control with pcl 5 the output bin of the mailbox.
Normally output bins are selected with Esc &l3G and more.
However this will select a bin on the cc997A (the bottom one) but Esc&l4G, Esc&l5G and so on do not select another bin of the cc997a but instead print to the output of the printer itself.
Does anyone know the correct PCL line to select a specific bin of the cc997A?
Thanks JP
If the Windows driver uses PJL, it may be the case that (external) bin selection via PCL is not supported in the firmware - I don't know.
... and I don't know what else to suggest, other than trial and error.
As for the PJL ASCIIHEX values, they are nothing to do with the bin selection:
Type Sequence Description
PCL Parameterised <Esc>%-12345X Universal Exit Language (UEL)
Comment Switch language to PJL
PJL Command @PJL DMINFO ASCIIHEX="0400040101020D1010011532303133303331393
13133333331"<CR><LF>
>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Comment Start analysis of embedded PML string
Comment of size 50 ASCIIHEX characters (25 bytes)
PML Request 0x04 SetRequest
PML Data Type/Length 0x0004 Object Identifier / 4
Value 0x0101020d 1.1.2.13
PML Data Type/Length 0x1010 String / 16
Symbol Set 0x0115 277 (= 8U)
Value 0x323031.. 20130319113331
Comment End analysis of embedded PML string
Comment of size 50 ASCIIHEX characters (25 bytes)
<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I don't know exactly what Object Identifier (OID) 1.1.2.13 signifies, but it seems to be the current date and time (in ISO format).
Similar Messages
-
Speeding up the Get-MailboxStatistics cmdlet for ~19K mailboxes.
Greetings,
While this is partially a PowerShell scripting question, I am posting it in the Exchange 2010 forum because the issues I believe center around the Get-MailboxStatistics itself, and the speed of my scripts in Exchange 2010 (possibly
due to the additional overhead in remote PowerShelling).
In my Exchange 2010 system we have ~19,000 mailboxes spread accross multiple DAG nodes, and ever since we upgraded from Exchange 2007 to Exchange 2010, gathering all of the mailboxes and then gathering their statistics takes almost
twice as long. For example a script that used to take ~45 minutes in Exchange 2007, takes about an hour and a ½.
The issue I am running into when clocking core aspects of a mailbox data gathering scripts is that the Get-MailboxStatistics seems to be taking an excessively long period of time, and I am hoping someone can help me figure out a
way to speed up the process.
For example this is a boiled down script I created, where I ripped out a ton of other things and just focused on the Get-Mailbox and Get-MailboxStatistics commands:
$BaseOU
=
"Customers"
# Capture the date and time in a variable using the "Fri 11/01/2010 6:00 AM" format.
$DateTime
=
Get-Date
-Format
"ddd MM/dd/yyyy h:mm tt"
# Select a single domain controller to use for all the queries (to avoid mid AD replication inconsistencies)
from the environment variable LOGONSERVER - this ensures the variable will always be dynamically updated.
$DomainController
= ($Env:LogonServer).Substring(2)
# Set the loop count to 0 so it can be used to track the percentage of completion.
$LoopCount
= 0
# Start tracking the time this script takes to run.
$StopWatch1
=
New-Object
System.Diagnostics.Stopwatch
$StopWatch1.Start()
# Get the mailbox info for all IHS customer mailboxes.the storage limit is Prohibit send or mailbox disabled
Write-Host
-ForegroundColor
Green
"Beginning mailbox gathering. In a short while a progress bar will appear."
$GatheredMailboxes
=
Get-Mailbox
-ResultSize:Unlimited
-OrganizationalUnit
"ADDomain.com/$BaseOU"
-DomainController
$DomainController |
Select Identity,DisplayName,ProhibitSendQuota
Write-Host
-ForegroundColor
Green
"Mailbox data gathering is complete."
$StopWatch1.Stop()
$StopWatch2
=
New-Object
System.Diagnostics.Stopwatch
$StopWatch2.Start()
Foreach ($Mailbox
in
$GatheredMailboxes) {
# Show a status bar for progress while the mailbox data is collected.
$PercentComplete
= [Math]::Round(($LoopCount++
$GatheredMailboxes.Count
* 100),1)
$CurrentMBDisplay
=
$Mailbox.DisplayName
Write-Progress
-Activity
"Mailbox Data Gathering in Progress"
-PercentComplete
$PercentComplete
`
-Status
"$PercentComplete% Complete"
-CurrentOperation
"Current Mailbox: $CurrentMBDisplay"
#Get the mailbox statistics for each mailbox gathered above.
$MailboxStats
=
Get-MailboxStatistics
$Mailbox.Identity |
Select StorageLimitStatus,TotalItemSize
# Proceed only if the the mailbox statistics show the storage limit is Prohibit Send or Mailbox Disabled.
# Write-Host "Stats for"$Mailbox.DisplayName"are Limit ="$MailboxStats.StorageLimitStatus"and Size ="$MailboxStats.TotalItemSize.Value.ToMB()"MB."
# Calculate the amount of time the script took to run and write the information to the screen.
$StopWatch2.Stop()
$ElapsedTime
=
$StopWatch1.Elapsed
Write-Host
"he mailbox gathering took"
$ElapsedTime.Hours
"hours,"
$ElapsedTime.Minutes
"minutes, and"
$ElapsedTime.Seconds
`
"seconds to run."
$ElapsedTime
=
$StopWatch2.Elapsed
Write-Host
"The foreach loop took"
$ElapsedTime.Hours
"hours,"
$ElapsedTime.Minutes
"minutes, and"
$ElapsedTime.Seconds
`
"seconds to run."
Using the two stop clocks, I was able to see that the Get-Mailbox of all mailboxes took ~9 minutes. That isn’t lightning fast, but it isn’t unreasonable.
The issue comes in where the Foreach loop with the Get-MailboxStatistics took ~53 minutes, and I am sure some of the mailbox data was cached on the servers from my various tests so it would probably take even longer with a cold
run.
I did some digging around and I really couldn’t find anything on how to speed up the Get-MailboxStatistics, and the only thing I found was this link:
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9ceefddd-7a59-44ec-8fc0-8de244acb58b
However I am not clear on how moving the Get-MailboxStatistics into the Get-Mailbox syntax (which is odd to me in general) would speed things up if I still have to have a foreach loop to process the data a little bit and add the
users to a datatable. That discussion also made think the foreach loop itself is slowing things down but unclear as to how/why if that is true.
Can someone help share some ideas on how to speed up this process? I think there are some other things I could try but I can’t think of them.
Thank you in advance.I think it's impossible to speed up the Get-MailboxStatistics when it is being called for each and every mailbox individually.
I read somewhere in other posts people were having better performance by calling the cmdlet against an entire database or server so I gave it a shot with this code:
$DAGS = "EXCHDAG1"
# Start tracking the time this script takes to run.
$StopWatch = New-Object System.Diagnostics.Stopwatch
$StopWatch.Start()
$MailboxStatistics = New-Object System.Data.DataTable “MailboxStatistics”
$MailboxStatistics.Columns.Add("TotalitemSize",[String]) | Out-Null
$MailboxStatistics.Columns.Add("ItemCount",[String]) | Out-Null
$MailboxStatistics.Columns.Add("LastLogonTime",[String]) | Out-Null
$MailboxStatistics.Columns.Add("LastLogoffTime",[String]) | Out-Null
$MailboxStatistics.Columns.Add("MailboxGUID",[String]) | Out-Null
$MailboxStatistics.PrimaryKey = $MailboxStatistics.Columns["MailboxGUID"]
ForEach ($DAGServer in (Get-DatabaseAvailabilityGroup $DAGS).Servers) {
ForEach ($MailboxStats in (Get-MailboxStatistics -Server $DAGServer.Name | Where {$_.DisconnectDate -eq $Null})) {
$NewMBXStatsDTRow = $MailboxStatistics.NewRow()
$NewMBXStatsDTRow.TotalitemSize = $MailboxStats.TotalItemSize
$NewMBXStatsDTRow.ItemCount = $MailboxStats.ItemCount
$NewMBXStatsDTRow.LastLogonTime = $MailboxStats.LastLogonTime
$NewMBXStatsDTRow.LastLogoffTime = $MailboxStats.LastLogoffTime
$NewMBXStatsDTRow.MailboxGUID = $MailboxStats.MailboxGuid.ToString()
$MailboxStatistics.Rows.Add($NewMBXStatsDTRow)
$StopWatch.Stop()
$ElapsedTime = $StopWatch.Elapsed
Write-Host "The script took" $ElapsedTime.Hours "hours," $ElapsedTime.Minutes "minutes, and" $ElapsedTime.Seconds `
"seconds to run."
Here are the results in speed:
The script took 0 hours, 3 minutes, and 13 seconds to run.
So yeah... ~3 minutes versus ~1 hour, I would say that's an improvement.
Now I will go back to my script and as I process each mailbox I will pull it's statistics information out of the DataTable using its GUID with:
If ($MailboxStats = $MailboxStatistics.Rows.Find($Mailbox.MailboxGUID)) {
# Insert mailbox statistics processing here using the $MailboxStats variable with "." extensions.
} Else {
# Mailbox statistics weren't found so go grab them individually as a backup mechanism for scenarios when a user's mailbox got moved out of the DAG to a non-DAG database for whatever reason.
It's a little silly that I have to extract the information out of each DAG server and put it in an in-memory table just to speed this process up, but clearly there is overhead with the Get-MailboxStatistics cmdlet and grabbing more mailboxes at once helps
negate this issue.
I'm going to mark my own response as an answer because I don't think anyone else is going to come up with something better than what I put together. -
The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use. PLease try again later
What program are you using? And what version?
-
How to use Search Folders in Outlook for shared mailboxes
Hello
We use Otlook 2010/2013 with MS Exchange 2010. In outlook there is "Serarch folder" with subfolders Large e-mail, Unreaded mails.... User can create own subfolders with rules.
Users have attahet to outlook shared mailboxex for example Import, Export....
For these mailboxes you cannot use "Search Folders" - outlook can use it only for your personal mailbox.
To use "Serach folders" for shared mailbox I have to create new e-mail profile in Windows. User has to run outlook using these new profile "import". Now he is directly connected with shared mailbox.
But users want to use "Search folders" when they are on own outlook profile with shared mailboxes attahecd to their profiles.
Is it posible to do it? Or use some third-party
product?
Thank you for help
Tomasz
Kind Regards TomaszHi,
I suggest we ask this question on Outlook forum:
http://social.technet.microsoft.com/Forums/office/en-US/home?forum=outlook
Regards,
Simon Wu
TechNet Community Support -
Creating rules for other mailboxes
Hi there,
I couldn't seem to find this question anywhere so I'll just post it. Is there a way to create a rule for IMAP mailboxes? Here is my situation: I have two gmail IMAP accounts in Mail in addition to my .Mac IMAP account. Now sometimes I can't always get to my computer to check for mail so I've been using the webmail on apple.com. However, to make things more convenient for me I've made gmail forward all my messages to [email protected] I want my gmail accounts on my Mail app because then I can send messages with my gmail account instead of my .mac account. I just want to be able to use the .mac account as a kind of grouping station. I also want to use the push mail function when MobileMe becomes available.
My question is, I know that on Mail I'm going to get duplicate messages in my Gmail IMAP accounts, because they are also being forwarded to [email protected], but is there any way to create a rule so that I won't see the "unread message count" on my gmail mailboxes? Or is there a way to make Mail not check for new messages in my gmail accounts? Or something to that effect?
Thank you all so much,
R.Does anyone have an answer?
thank you -
How to use Powershell to set delegate for user mailbox in Exchange 2010 and Office 365
Hello,
Can you please tell me if I can set delegate for user mailbox in Exchange 2010 or Office 365 using Powershell?
If I can, then how can I do that? (which Powershell commands for setting the delegate?)
Many thanks, and have a good day!Hi,
If you wanted to add a delegate to possiblly a large number of users or you do this during mailbox provisioning. So the following script will use
impersonation to access another users mailbox and add a delegate.
$mbtoDelegate = "[email protected]"
$delegatetoAdd = "[email protected]"
$dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll"
[void][Reflection.Assembly]::LoadFile($dllpath)
$service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
$windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
$aceuser = [ADSI]$sidbind
$service.AutodiscoverUrl($aceuser.mail.ToString())
$service.ImpersonatedUserId = new-object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress,
$mbtoDelegate);
$mbMailbox = new-object Microsoft.Exchange.WebServices.Data.Mailbox($mbtoDelegate)
$dgUser = new-object Microsoft.Exchange.WebServices.Data.DelegateUser($delegatetoAdd)
$dgUser.ViewPrivateItems = $false
$dgUser.ReceiveCopiesOfMeetingMessages = $false
$dgUser.Permissions.CalendarFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Editor
$dgUser.Permissions.InboxFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Reviewer
$dgArray = new-object Microsoft.Exchange.WebServices.Data.DelegateUser[] 1
$dgArray[0] = $dgUser
$service.AddDelegates($mbMailbox, [Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope]::DelegatesAndMe, $dgArray);
Hope this helps. -
Outlook Password prompt for Linked Mailboxes from certain Domain
Hello,
As part of a migration project, I'm trying to connect Outlook with Linked Mailboxes from users in a trusted domain.
I'm able to create the linked mailbox on the Exchange 2013 (CU7) server without any issue, but when I try to configure Outlook for these mailboxes, it is prompting for credentials permanently and won't start. Log on to OWA with the same user from the trusted
domain is working fine.
I'm able to configure Linked mailboxes from another trusted domain without any problems.
I've already recreated the trust between these two domains (validation tells everything is ok)
DNS is configured with conditional forwarders in both domains and name resolution looks ok to me (ping and nslookup)
When I look at the LinkedMasterAccount of the mailboxes from this domain, I can see that there is only the SID (S-1-5-21-4033829......). The other linked mailboxes (from the other domain where it's working) are showing the Account name (domain\user)
Internal and External ClientAuthenticationMethod of OutlookAnywhere is set to NTLM
Infos:
DomainA: Domainlevel 2012 - Exchange 2013 - Forest trust to Domain B and C
DomainB: Domainlevel 2008 - Exchange 2010 - Forest trust to Domain A - Outlook for linked Mailboxes of DomainA works fine
DomainC: Domainlevel 2008 - Forest trust to Domain A --> can't connect Outlook to LinkedMailboxes of this domain.
Is there anything else I can check?Hi,
Please check whether the server is configured to only accept NTLM version 2 and reject NTLM and LM, and the Outlook client computer is not configured with the same LAN Mananger authentication level.
Check DC, Start -> Programs -> Administrative Tools -> Security Options -> Note the LAN Manager authentication level.
Check DC's policies, Start -> Programs -> Administrative Tools -> expand Security Settings\Local Policies -> Security Options -> Note the Lan Manager authentication level.
IMPORTANT: You may also have to check policies that are linked at the site/domain/organizational unit levels to determine where the LAN Manager authentication level must be configured. Configure the LAN Manager authentication level to "Send
NTLMv2 response only". If you want to implement NTLM version 2 in your network, make sure that all computers in the domain are set to use this authentication level.
Thanks
Mavis Huang
TechNet Community Support -
How to block domains not for all mailboxes in our organization?
Hello everybody! Need some advice - I have a script to block some domains ("black domains list") - I am using this command: Set-SenderFilterConfig -BlockedDomains:$list But now I need to block these domains not for all mailboxes in our organization,
for example: somebody is sending a message from "black" domain company.com and there is a mailbox [email protected] - so only this user should receive message from "black" domain. Any others should receive nothing even their addresses
are in copy. Is it possible? Thanks.Hi,
When we use Set-SenderFilterConfig –BlockedDomains to block domain, exchange will block any messages from that domain without any exception.
The only thing I can think of is transport rule, so please try to create this transport rule to have a test:
If this transport rule doesn't work, then there is no way to block domain not for all mailboxes in organization based on my knowledge.
Best Regards. -
Different column views for different mailboxes?
Is it possible to view different columns for different mailboxes?
Normally, the "Sent" mailbox displays only "To," not "From;" and the other mailboxes display only "From" and not "To." That's fine. But I have another mailbox I've created where I've stored old sent mail, and I only want to see the "To" column, not the "From" column in that mailbox. When I select that mailbox and then choose View-Columns, whatever I choose is applied to the "In" box, and all the other mailboxes (except "Sent" )... is there another way to do this?
G3 B&W Mac OS X (10.3.9)Column view settings are stored globally for all mailboxes. You cannot change them for one mailbox without also affecting the rest, except Mail allows you to have slightly different From/To and Date Sent/Date Received settings for Sent.
-
Can't customize columns for individual mailbox?
Hi,
This may be a silly question, but I'm new to mac.
I imported my old inbox and sent folder from Outlook Express on PC to Mail in one batch. So Mail created two mailboxes for "Inbox" and "Sent" under account (or folder) named "Imported". But I can't figure out how to customize the displayed columns for each mailbox individually. For example, I want to display "From/Subject/Date Received" for "Inbox", but "To/Subject/Date Sent" for "Sent". But it just won't allow me do that. Both mailboxes can only have the same column selections. It is just so annoying.
Is it possible to have different columns, or it is just the way Mail should work?
Thank you.
RxieslingTruly awesome, thank you! (Just curious if you know of any tricks to making it louder than the 200% slider allows?)
thanks-
c -
I try to move emails into the trash and this message comes up;
The IMAP command “CHECK” failed for the mailbox “INBOX” with server error: Error in IMAP command received by server..
what should I do ?
My trash is empty and I re booted etc...Back up all data. Rebuild the mailbox. Try again to delete the message.
-
Tracking logs for shared mailbox
Is it possible with 2010 exchange tracking logs to prove the following
We have a mailbox which has been made accesible in terms of permissions so a number of users havve access and control over the mailbox. We need to prove which of those users with access to that mailbox has sent/forwarded information from that mailbox elsewhere
(i.e. external mailbox recipient). Can the logs prove who did these actions? Or will they just show the mailbox itself sent/forwarded them on?Hi,
One more thing, mailbox Audit Logging feature can track mailbox owner, delegate, and administrator logons to a mailbox, as well as what actions are taken while the user is logged on.
Document for reference
Mailbox Audit Logging for a Mailbox
https://technet.microsoft.com/en-us/library/ff461937(v=exchg.141).aspx
And when you use Search-MailboxAuditLog cmdlet to search mailbox audit log entries, remember to add -ShowDetails parameter to see who did actions in that
mailbox.
Best Regards.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Lynn-Li
TechNet Community Support -
Publish calendar for Shared Mailbox
Hi,
I have shared mailbox that I really need to have the calendar to be publish online (the ics link). I tried using the website and outlook 2013 client. Both of them saying that the "storeID provided isn't an ID of an item." Is there a way to be able
to publish the calendar?Hi,
We can enable Internet Calendar Publishing
in exchange, then users can share calendar availability (free/busy) information with users in non-Exchange organizations and other individuals with Internet access.
Refer to this document.
https://technet.microsoft.com/en-us/library/ff607475%28v=exchg.141%29.aspx?f=255&MSPPError=-2147217396
After creating a new sharing policy, use the following command to set the sharing policy Internet for shared mailbox.
Set-Mailbox -Identity <shared mailbox> -SharingPolicy "new policy"
Best Regards.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Lynn-Li
TechNet Community Support -
How to disable NDR receiving for a mailbox
Hi,
I have a service account mailbox which does not require receiving non delivery report. This mailbox is not monitored but used for sending certain reports to users. My problem is, after few days the mailbox become full with non delivery reports due to some
email address issues of users.
How can I disable non delivery reports just for this mailbox? I could not find any option in the mailbox properties.
I am using Exchange 2010 SP1.
Thanks for your supportYour AV/AS service should be able to block these.
For example in EOP:
http://www.o365info.com/2013/05/dealing-with-spam-mail-in-office-365.html#SUB-21
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
I have been getting the following message and have no idea how to clear it. Any help will be greatly appreciated!!! I have force closed Mail, and have tried to re-sync my accounts but no luck.
The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “Bulk Mail” with server error: UID COPY Mailbox in use. Please try again later.What program are you using? And what version?
Maybe you are looking for
-
IPhone 5S with ios8 fail to connect my Bluetooth car audio system
Dear apple users and developers, I have read many threads about this issue mostly for iPhone 5 (ok i have the 5S) perhaps this makes a difference. With the ios7 i had no issue and always connected to my MHV-8300BT Pioneer device in my car. After upda
-
Video Monitoring System - Linksys by Cisco
Hey all. I have Video monitoring software, with 7 WVC2300 cameras. I can access each individual camera over the web, no problem. I can RDP to the server running the software no problem (a little choppy). My question is. Can you connect directly
-
How to move milion of records into another table
Hello, I would like to know if there is some way how to move large number of rows from one table into another. We have several tables storing runtime data. Data older then e.g. 10 days are moved into hitory tables. Currently we do this via pl/sql, bu
-
hI GUYS This is sri, i need to have done an application to send mails programatically, below is the code, can any one fix the bug or give me the code which works fine? Any help will be appreciable!!!!!! Thanks & Regards, Sri. CODEimport java.util.*;
-
My ITunes is not allowed me to make a purchase even that I have costs on my credit card